/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-soft: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-right {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-outline:hover .btn-icon-right {
    transform: translateX(4px);
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    position: relative;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 8px;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
}

/* ===== Hero区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 30%, #fef3c7 70%, #fff7ed 100%);
    opacity: 0.8;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 680px;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 320px;
    height: 680px;
    background: #0f172a;
    border-radius: 48px;
    padding: 14px;
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(37, 99, 235, 0.2);
    position: relative;
}

.phone-frame.white {
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #0f172a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-notch.notch-dark {
    background: #0f172a;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-app-img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* 交互式手机样机 */
.interactive-phone .phone-screen {
    display: block;
    position: relative;
    background: #f8fafc;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 0;
    height: 28px;
    font-size: 11px;
    font-weight: 600;
    color: #0f172a;
    position: relative;
    z-index: 5;
}

.status-icons {
    display: flex;
    gap: 3px;
    font-size: 10px;
}

.app-screen {
    display: flex;
    flex-direction: column;
    height: calc(100% - 28px);
}

.app-page {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    bottom: 56px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8fafc;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(20px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.app-page::-webkit-scrollbar {
    display: none;
}

.app-page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* APP通用头部 */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-header.transparent {
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    color: white;
}

.app-city {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.city-arrow {
    width: 14px;
    height: 14px;
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.app-header.transparent .app-title {
    color: white;
}

.app-back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-back:active {
    transform: scale(0.9);
}

.app-back svg {
    width: 18px;
    height: 18px;
    color: #0f172a;
}

.app-share {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
}

.app-share svg {
    width: 16px;
    height: 16px;
    color: #0f172a;
}

/* 首页Tab */
.app-tabs {
    display: flex;
    gap: 16px;
    padding: 12px 16px 8px;
    background: white;
    overflow-x: auto;
    scrollbar-width: none;
}

.app-tabs::-webkit-scrollbar {
    display: none;
}

.app-tab {
    flex-shrink: 0;
    font-size: 14px;
    color: #64748b;
    padding-bottom: 4px;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
}

.app-tab.active {
    color: #2563eb;
    font-weight: 600;
}

.app-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

/* 搜索框 */
.app-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 12px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: #94a3b8;
}

.app-search svg {
    width: 16px;
    height: 16px;
}

/* 导航按钮 */
.app-nav-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 16px;
    background: white;
}

.app-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.app-nav-btn:active {
    transform: scale(0.95);
}

.nav-icon-emoji {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.app-nav-btn span {
    font-size: 11px;
    color: #475569;
}

/* 活动列表 */
.app-activity-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-activity-item {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.app-activity-item:active {
    transform: scale(0.98);
    background: #f8fafc;
}

.activity-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.activity-thumb.bg-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.activity-thumb.bg-2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.activity-thumb.bg-3 { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }

.activity-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.activity-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #94a3b8;
}

.activity-price {
    font-size: 12px;
    color: #f97316;
    font-weight: 600;
}

/* 俱乐部列表 */
.app-club-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-club-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.club-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.club-rank.rank-1 { color: #f59e0b; }
.club-rank.rank-2 { color: #94a3b8; }
.club-rank.rank-3 { color: #d97706; }

.club-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.club-avatar.cbg-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.club-avatar.cbg-2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.club-avatar.cbg-3 { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.club-avatar.cbg-4 { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }

.club-info {
    flex: 1;
    min-width: 0;
}

.club-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.club-desc {
    font-size: 11px;
    color: #94a3b8;
}

.club-score {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
}

/* 活动详情页 */
.activity-detail-header {
    padding-bottom: 16px;
}

.detail-banner {
    height: 160px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    margin-bottom: 12px;
}

.detail-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    padding: 0 16px;
    margin-bottom: 12px;
}

.detail-meta {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
}

.meta-icon {
    font-size: 14px;
}

.activity-detail-body {
    padding: 16px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.detail-section-content {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

.detail-host {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
}

.host-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.host-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.host-desc {
    font-size: 12px;
    color: #94a3b8;
}

.activity-detail-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.detail-price {
    display: flex;
    flex-direction: column;
}

.detail-price .price-label {
    font-size: 11px;
    color: #94a3b8;
}

.detail-price .price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #f97316;
}

.detail-signup-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-signup-btn:active {
    transform: scale(0.95);
}

/* 消息页 */
.app-message-list {
    padding: 8px 0;
}

.app-message-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.app-message-item:active {
    background: #f8fafc;
}

.msg-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.msg-avatar.mbg-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.msg-avatar.mbg-2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.msg-avatar.mbg-3 { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }

.msg-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.msg-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msg-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.msg-time {
    font-size: 11px;
    color: #94a3b8;
}

.msg-text {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-badge {
    position: absolute;
    top: 10px;
    right: 16px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 我的页 */
.app-mine-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
}

.mine-avatar {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mine-info {
    flex: 1;
}

.mine-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mine-desc {
    font-size: 12px;
    opacity: 0.8;
}

.mine-stats {
    display: flex;
    padding: 16px 0;
    background: white;
    border-bottom: 8px solid #f1f5f9;
}

.mine-stat {
    flex: 1;
    text-align: center;
}

.mine-stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.mine-stat-label {
    font-size: 12px;
    color: #94a3b8;
}

.mine-menu {
    background: white;
}

.mine-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mine-menu-item:active {
    background: #f8fafc;
}

.menu-icon {
    font-size: 18px;
}

.menu-text {
    flex: 1;
    font-size: 14px;
    color: #0f172a;
}

.menu-arrow {
    width: 16px;
    height: 16px;
    color: #cbd5e1;
}

/* 底部TabBar */
.app-tabbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: white;
    border-top: 1px solid #f1f5f9;
    z-index: 20;
}

.tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.tabbar-item svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.tabbar-item span {
    font-size: 10px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.tabbar-item.active svg,
.tabbar-item.active span {
    color: #2563eb;
}

.tabbar-publish {
    position: relative;
    top: -12px;
}

.publish-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 300;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.publish-btn:active {
    transform: scale(0.9);
}

/* 发布活动表单 */
.publish-form {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-item {
    background: white;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.form-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.form-input {
    font-size: 13px;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.form-input span {
    color: #94a3b8;
}

.form-arrow {
    width: 14px;
    height: 14px;
    color: #cbd5e1;
}

.form-textarea {
    font-size: 13px;
    color: #94a3b8;
    min-height: 60px;
    padding: 6px 0;
}

.form-upload {
    padding: 6px 0;
}

.upload-btn {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 11px;
    gap: 2px;
}

.upload-btn span:first-child {
    font-size: 20px;
    color: #cbd5e1;
}

.publish-submit {
    margin-top: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 俱乐部详情页 */
.club-detail-header {
    position: relative;
    padding-bottom: 16px;
}

.club-detail-banner {
    height: 140px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
}

.club-detail-info {
    padding: 12px 16px 0;
}

.club-detail-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.club-detail-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    gap: 6px;
}

.club-join-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.club-detail-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    padding: 0 16px;
}

.club-tab {
    padding: 12px 16px;
    font-size: 13px;
    color: #64748b;
    position: relative;
    cursor: pointer;
}

.club-tab.active {
    color: #2563eb;
    font-weight: 600;
}

.club-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.club-detail-activities {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 聊天页 */
.chat-content {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-time {
    text-align: center;
    font-size: 10px;
    color: #94a3b8;
    padding: 4px 0;
}

.chat-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.chat-item.right {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-bubble {
    max-width: 70%;
    padding: 8px 12px;
    background: white;
    border-radius: 12px;
    font-size: 13px;
    color: #0f172a;
    line-height: 1.5;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.chat-bubble.mine {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: #94a3b8;
}

.chat-send {
    padding: 8px 16px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* 我的活动/优惠券 通用Tab */
.my-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    padding: 0 8px;
}

.my-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    position: relative;
    cursor: pointer;
}

.my-tab.active {
    color: #2563eb;
    font-weight: 600;
}

.my-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.my-activity-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 俱乐部标签 */
.club-tag-badge {
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    flex-shrink: 0;
}

/* 优惠券页 */
.coupon-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.coupon-left {
    width: 90px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.coupon-left::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #f8fafc;
    border-radius: 50%;
}

.coupon-amount {
    font-size: 24px;
    font-weight: 700;
    color: #d97706;
}

.coupon-condition {
    font-size: 10px;
    color: #92400e;
    margin-top: 2px;
}

.coupon-right {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coupon-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.coupon-expire {
    font-size: 11px;
    color: #94a3b8;
}

.coupon-use {
    font-size: 11px;
    color: #2563eb;
    font-weight: 600;
    text-align: right;
}

/* 设置页分组 */
.settings-list {
    padding: 12px 0;
}

.settings-group {
    background: white;
    margin-bottom: 8px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.settings-group .mine-menu-item {
    border-bottom: none;
}

.settings-group .mine-menu-item:last-child {
    border-bottom: none;
}

/* 商城页 */
.mall-banner {
    margin: 12px 16px;
    padding: 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
}

.mall-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 16px 12px;
    background: white;
    margin-bottom: 8px;
    padding-top: 12px;
}

.mall-cate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #475569;
    cursor: pointer;
}

.mall-cate-item span {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mall-goods-title {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: white;
}

.mall-goods-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 16px 16px;
    background: #f8fafc;
}

.mall-goods-item {
    background: white;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    cursor: pointer;
}

.goods-img {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 8px;
}

.goods-name {
    font-size: 12px;
    color: #0f172a;
    margin-bottom: 4px;
    text-align: left;
}

.goods-price {
    font-size: 13px;
    color: #f97316;
    font-weight: 600;
    text-align: left;
}

/* 聊天页面特殊布局 */
.app-page[data-page="chat"] {
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

.app-page[data-page="chat"] .chat-content {
    flex: 1;
    overflow-y: auto;
}

/* 操作提示 */
.phone-hint {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    animation: hintBounce 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes hintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.floating-card .card-icon {
    font-size: 28px;
}

.floating-card .card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.floating-card .card-desc {
    font-size: 12px;
    color: var(--text-light);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 0%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
    z-index: 1;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ===== Section通用样式 ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 功能特色 ===== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.feature-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 16px;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-bg {
    opacity: 0.25;
    transform: scale(1.1);
}

.feature-icon {
    position: relative;
    width: 64px;
    height: 64px;
    padding: 16px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 精彩活动 ===== */
.activities {
    padding: 120px 0;
    background: white;
}

.activity-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.activity-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.activity-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.activity-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-bg-1 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.activity-bg-2 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.activity-bg-3 {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.activity-bg-4 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.activity-emoji {
    font-size: 56px;
}

.activity-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.activity-hot {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.activity-content {
    padding: 20px;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.5;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.activity-signup-btn {
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.activity-signup-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.activity-joined-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.activity-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.activity-joined {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.avatars {
    display: flex;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
    background: var(--gradient-primary);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
.avatar-2 { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }
.avatar-3 { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.avatar-4 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.avatar-5 { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.section-more {
    text-align: center;
    margin-top: 48px;
}

/* ===== 兴趣俱乐部 ===== */
.clubs {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.club-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.club-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.club-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.club-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.club-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.club-bg-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.club-bg-2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.club-bg-3 { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); }
.club-bg-4 { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.club-bg-5 { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.club-bg-6 { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }

.club-info {
    flex: 1;
    min-width: 0;
}

.club-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.club-members {
    font-size: 13px;
    color: var(--text-light);
}

.club-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.club-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.club-tag {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== 用户评价 ===== */
.testimonials {
    padding: 120px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 32px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-1 { background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%); }
.author-2 { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.author-3 { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-role {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== 下载区域 ===== */
.download {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.download-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 50%, #0c4a6e 100%);
}

.download-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.3;
}

.download-title .title-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.download-btn svg {
    width: 28px;
    height: 28px;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
}

.download-btn-label {
    font-size: 11px;
    opacity: 0.7;
}

.download-btn-store {
    font-size: 16px;
    font-weight: 600;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    color: #0f172a;
}

.qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.qr-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-phone {
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

/* ===== 关于我们 ===== */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 16px;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.value-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.about-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.about-card-header h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-card-header p {
    font-size: 13px;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
}

.big-number {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.small-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.about-principles {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.principle-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.principle-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.principle-tag {
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== 平台理念 ===== */
.philosophy {
    padding: 120px 0;
    background: var(--bg-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.philosophy-card {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.philosophy-num {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.philosophy-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.philosophy-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== 客户画像与目标 ===== */
.about-goal {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.goal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.goal-item {
    margin-top: 28px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.goal-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.goal-item p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.goal-vision-card {
    background: var(--gradient-primary);
    padding: 48px 40px;
    border-radius: 24px;
    color: white;
}

.vision-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.goal-vision-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.goal-vision-card p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 12px;
}

.complaint-hotline {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.complaint-hotline a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.complaint-hotline a:hover {
    text-decoration: underline;
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 24px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .clubs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-visual {
        height: 450px;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .floating-card {
        padding: 10px 14px;
    }
    
    .floating-card .card-icon {
        font-size: 24px;
    }
    
    .floating-card .card-title {
        font-size: 13px;
    }
    
    .floating-card .card-desc {
        font-size: 11px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .features,
    .activities,
    .clubs,
    .testimonials,
    .download,
    .about {
        padding: 80px 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .download-title {
        font-size: 28px;
    }
}

.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .goal-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about {
        padding: 60px 0;
    }

    .philosophy {
        padding: 60px 0;
    }

    .about-goal {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== 微信扫码登录弹窗 ===== */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    width: 420px;
    max-width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-header {
    text-align: center;
    padding: 40px 30px 20px;
}

.login-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.login-modal-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.login-modal-body {
    padding: 20px 30px 10px;
}

.login-qrcode-container {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    position: relative;
    background: #f8f9fa;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-qrcode-loading {
    text-align: center;
    color: #888;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-qrcode-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

#loginQrcodeImg {
    width: 100%;
    height: 100%;
    display: block;
}

.login-qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.qrcode-mask-content {
    text-align: center;
    color: white;
}

.mask-icon {
    font-size: 32px;
    margin: 0 0 8px 0;
}

.qrcode-mask-content p {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.qrcode-mask-content .btn {
    padding: 8px 20px;
    font-size: 14px;
}

.login-status {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.login-status-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.login-status-text.success {
    color: #52c41a;
    font-weight: 500;
}

.login-modal-footer {
    text-align: center;
    padding: 20px 30px 30px;
}

.login-modal-footer p {
    font-size: 13px;
    color: #aaa;
    margin: 0;
}

.btn-login {
    margin-right: 12px;
}

@media (max-width: 480px) {
    .login-modal-content {
        width: 90%;
    }
    
    .login-modal-header {
        padding: 30px 20px 15px;
    }
    
    .login-modal-title {
        font-size: 20px;
    }
    
    .login-modal-body {
        padding: 15px 20px 10px;
    }
    
    .login-qrcode-container {
        width: 200px;
        height: 200px;
    }
    
    .login-qrcode-wrapper {
        width: 170px;
        height: 170px;
    }
    
    .login-modal-footer {
        padding: 15px 20px 25px;
    }
}

/* ===== 支付弹窗 ===== */
.pay-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.pay-modal.active {
    display: flex;
}

.pay-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.pay-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}

.pay-modal-close:hover {
    color: #475569;
}

.pay-modal-header {
    padding: 28px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.pay-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.pay-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.pay-activity-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.pay-activity-name {
    font-size: 15px;
    color: #334155;
    margin-bottom: 12px;
    font-weight: 500;
}

.pay-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay-amount-label {
    font-size: 14px;
    color: #64748b;
}

.pay-amount-value {
    font-size: 24px;
    font-weight: 700;
    color: #ef4444;
}

.pay-method-section {
    margin-bottom: 20px;
}

.pay-method-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
}

.pay-method-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-method-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-method-item.active {
    border-color: #07c160;
    background: #f0fdf4;
}

.pay-method-icon {
    font-size: 24px;
    margin-right: 12px;
}

.pay-method-name {
    flex: 1;
    font-size: 15px;
    color: #334155;
    font-weight: 500;
}

.pay-method-check {
    color: #07c160;
    font-weight: 700;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.pay-method-item.active .pay-method-check {
    opacity: 1;
}

.pay-qrcode-section {
    text-align: center;
    padding: 20px 0;
}

.pay-qrcode-container {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #e2e8f0;
}

.pay-qrcode-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #64748b;
}

.pay-qrcode-wrapper {
    position: relative;
}

.pay-qrcode-wrapper img {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 8px;
}

.pay-qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.pay-tip {
    margin-top: 20px;
}

.pay-tip p {
    margin: 6px 0;
    font-size: 14px;
    color: #64748b;
}

.pay-amount-tip {
    font-weight: 600 !important;
    color: #ef4444 !important;
    font-size: 16px !important;
}

.pay-status {
    text-align: center;
    padding: 30px 0;
}

.pay-status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #22c55e;
}

.pay-status-text {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
}

.pay-modal-footer {
    padding: 16px 24px 24px;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.activity-footer {
    flex-direction: column;
    gap: 12px;
}

.activity-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-action {
    width: 100%;
}

.activity-action .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 480px) {
    .pay-modal-content {
        width: 95%;
        max-width: 360px;
    }
    
    .pay-modal-header {
        padding: 24px 20px 12px;
    }
    
    .pay-modal-body {
        padding: 20px;
    }
    
    .pay-modal-footer {
        padding: 12px 20px 20px;
    }
    
    .pay-qrcode-container {
        width: 200px;
        height: 200px;
    }
    
    .pay-qrcode-wrapper img {
        width: 180px;
        height: 180px;
    }
}

/* ===== 演示中心样式 ===== */
.demo-center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.demo-center-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.demo-center-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.5);
}

.demo-center-btn:active {
    transform: translateY(-1px);
}

.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.demo-modal-overlay.active .demo-modal {
    transform: scale(1);
}

.demo-modal-header {
    padding: 24px 24px 16px;
    text-align: center;
}

.demo-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.demo-modal-desc {
    font-size: 13px;
    color: #64748b;
}

.demo-modal-body {
    padding: 0 24px 24px;
    max-height: 50vh;
    overflow-y: auto;
}

.demo-app-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.demo-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f8fafc;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: calc(50% - 6px);
    box-sizing: border-box;
    text-align: center;
}

.demo-app-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateY(-2px);
}

.demo-app-item.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.demo-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.demo-app-info {
    width: 100%;
}

.demo-app-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.demo-app-desc {
    font-size: 11px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-modal-footer {
    padding: 0 24px 24px;
}

.demo-modal-footer .btn {
    width: 100%;
}

@media (max-width: 480px) {
    .demo-center-btn-wrapper {
        right: 12px;
    }
    
    .demo-center-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .demo-modal {
        width: 95%;
        max-width: 360px;
    }
    
    .demo-modal-header {
        padding: 20px 20px 12px;
    }
    
    .demo-modal-body {
        padding: 0 20px 20px;
    }
    
    .demo-modal-footer {
        padding: 0 20px 20px;
    }
}
