/* ============================================
   SuperR Online - 霓虹玻璃态设计系统 (优化版)
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111128;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --neon-purple: #8b5cf6;
    --neon-blue: #3b82f6;
    --neon-pink: #ec4899;
    --neon-cyan: #06b6d4;
    --neon-green: #10b981;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 亮色模式 CSS 变量 */
body.light-mode {
    --bg-primary: #f0f2f5;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --text-muted: rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    body::before { animation: none !important; }
}

*:focus-visible {
    outline: 3px solid var(--neon-purple);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--neon-purple);
    color: white;
    padding: 12px 24px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

body {
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    padding-top: 80px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    z-index: 0;
    animation: bgPulse 20s ease-in-out infinite alternate;
    pointer-events: none;
}
body.light-mode::before {
    opacity: 0.2;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
}

@keyframes bgPulse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, -3%) scale(1.1); }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-blue));
    border-radius: 10px;
}

/* ---- 导航栏 ---- */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1400px;
    height: 68px;
    background: rgba(10, 10, 26, 0.6);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 40px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    transition: all 0.3s ease;
}
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.1), rgba(236, 72, 153, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
body.light-mode .navbar::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.05), rgba(236, 72, 153, 0.1));
}

.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-logo { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.2); flex-shrink: 0; }
.nav-logo img.logo-img { width: 100%; height: 100%; object-fit: contain; }
.nav-title { font-size: 1.2rem; font-weight: 700; background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.3px; white-space: nowrap; }
body.light-mode .nav-title {
    background: linear-gradient(135deg, #1a1a2e 30%, rgba(26, 26, 46, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-right { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }

.nav-btn {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    min-width: 44px;
    display: inline-block;
    text-align: center;
}
.nav-btn.register { background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25); }
.nav-btn.register:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4); }
.nav-btn.login { background: rgba(255, 255, 255, 0.06); color: white; border: 1px solid rgba(255, 255, 255, 0.1); }
.nav-btn.login:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.2); }
.nav-btn.buy { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2); }
.nav-btn.buy:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35); }
.nav-btn.video { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2); }
.nav-btn.video:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35); }
.nav-btn.docs { background: linear-gradient(135deg, #06b6d4, #0891b2); color: white; box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2); }
.nav-btn.docs:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(6, 182, 212, 0.35); }
.nav-btn.guide { background: linear-gradient(135deg, #10b981, #059669); color: white; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2); }
.nav-btn.guide:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35); }
.nav-btn.ai-assistant { background: linear-gradient(135deg, #ec4899, #db2777); color: white; box-shadow: 0 4px 20px rgba(236, 72, 153, 0.2); }
.nav-btn.ai-assistant:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 30px rgba(236, 72, 153, 0.35); }
body.light-mode .nav-btn:not(.register):not(.login):not(.theme-toggle) {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .nav-btn:not(.register):not(.login):not(.theme-toggle):hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}
body.light-mode .nav-btn.login {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .nav-btn.login:hover { background: rgba(0, 0, 0, 0.08); }

.user-status { display: none; align-items: center; gap: 12px; }
.user-info { display: flex; align-items: center; gap: 8px; color: white; font-size: 0.9rem; font-weight: 500; }
body.light-mode .user-info { color: #1a1a2e; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; cursor: pointer; transition: all var(--transition); border: 2px solid rgba(255, 255, 255, 0.1); }
.user-avatar:hover { transform: scale(1.08); border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); }
.logout-btn { padding: 6px 16px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 30px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all var(--transition); }
.logout-btn:hover { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #f87171; transform: translateY(-1px); }
body.light-mode .logout-btn {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}
.auth-buttons { display: flex; align-items: center; gap: 8px; }

/* ---- 汉堡菜单 ---- */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition);
    flex-shrink: 0;
}
.hamburger:hover { background: rgba(255, 255, 255, 0.12); }
body.light-mode .hamburger {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav.active { display: flex; opacity: 1; }
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    width: 90%;
    max-width: 320px;
}
.mobile-nav-content .nav-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    justify-content: flex-start;
    gap: 12px;
}
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.light-mode .mobile-nav {
    background: rgba(255, 255, 255, 0.95);
}
body.light-mode .mobile-nav-close {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a2e;
}
body.light-mode .mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ---- 明暗切换按钮 ---- */
.nav-btn.theme-toggle { background: rgba(255, 255, 255, 0.06); color: white; border: 1px solid rgba(255, 255, 255, 0.1); min-width: 40px; display: flex; align-items: center; justify-content: center; padding: 6px 10px; font-size: 0.85rem; }
.nav-btn.theme-toggle:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.2); }
body.light-mode .nav-btn.theme-toggle { background: rgba(0, 0, 0, 0.04); color: var(--text-primary); border: 1px solid rgba(0, 0, 0, 0.08); }
body.light-mode .nav-btn.theme-toggle:hover { background: rgba(139, 92, 246, 0.1); border-color: var(--neon-purple); }

/* ---- 主容器 ---- */
.superR-container { max-width: 1400px; margin: 0 auto; padding: 40px 24px 20px; position: relative; z-index: 1; }

/* ---- 头部 ---- */
.header { text-align: center; margin-bottom: 50px; }
.header h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg, #ffffff 20%, rgba(255, 255, 255, 0.6) 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; line-height: 1.2; }
body.light-mode .header h1 {
    background: linear-gradient(135deg, #1a1a2e 20%, rgba(26, 26, 46, 0.6) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.header p { font-size: 1.15rem; color: var(--text-secondary); font-weight: 400; max-width: 640px; margin: 0 auto; letter-spacing: 0.2px; }

/* ---- 介绍区 ---- */
.top-section { margin-bottom: 60px; }
.video-header { text-align: center; margin-bottom: 40px; }
.video-header h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; }
body.light-mode .video-header h2 {
    background: linear-gradient(135deg, #1a1a2e, rgba(26, 26, 46, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.video-header p { color: var(--text-secondary); font-size: 1rem; max-width: 720px; margin: 0 auto; line-height: 1.6; }
.intro-section { display: flex; gap: 40px; flex-wrap: wrap; align-items: stretch; }
.intro-left { flex: 1; min-width: 280px; display: flex; flex-direction: column; }
.intro-right { flex: 1; min-width: 280px; display: flex; flex-direction: column; }

.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; height: 100%; }
.advantage-card {
    background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md); padding: 22px 20px; border: 1px solid var(--glass-border);
    transition: all var(--transition); display: flex; flex-direction: column; align-items: flex-start;
    position: relative; overflow: visible;
}
body.light-mode .advantage-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}
.advantage-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    opacity: 0; transition: opacity var(--transition);
}
.advantage-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(139, 92, 246, 0.15); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); }
.advantage-card:hover::before { opacity: 1; }
.advantage-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2)); display: flex; align-items: center; justify-content: center; color: var(--neon-purple); font-size: 1.2rem; margin-bottom: 12px; border: 1px solid rgba(139, 92, 246, 0.1); }
body.light-mode .advantage-card .advantage-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.1);
    color: var(--neon-purple);
}
.advantage-card h3 { font-size: 1.05rem; font-weight: 600; color: white; margin: 0 0 6px 0; }
body.light-mode .advantage-card h3 { color: #1a1a2e; }
.advantage-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* ---- 轮播 ---- */
.slider-container { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.3); height: 100%; min-height: 320px; border: 1px solid var(--glass-border); }
.slider-wrapper { position: relative; width: 100%; height: 100%; min-height: 320px; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); padding: 20px 28px; }
.slide-caption h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; color: white; }
.slide-caption p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin: 0; }
.slider-indicators { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: all var(--transition); }
.indicator.active { background: white; transform: scale(1.25); box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
.slider-controls { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 16px; z-index: 10; pointer-events: none; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: white; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; cursor: pointer; transition: all var(--transition); pointer-events: auto; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: rgba(139, 92, 246, 0.3); border-color: rgba(139, 92, 246, 0.2); transform: scale(1.08); }

/* ---- 视频区 ---- */
.video-section { margin-bottom: 60px; }
.video-container { max-width: 1000px; margin: 0 auto; }
.video-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.3); }
.video-wrapper video { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.video-controls { display: flex; justify-content: center; gap: 16px; padding: 18px 20px 8px; flex-wrap: wrap; background: rgba(0, 0, 0, 0.2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.video-control-btn { padding: 10px 22px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.04); color: white; display: inline-flex; align-items: center; gap: 8px; }
body.light-mode .video-control-btn {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
.video-control-btn:hover { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.video-control-btn:first-child { background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); border-color: transparent; }
body.light-mode .video-control-btn:first-child {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
}
.video-control-btn:first-child:hover { box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3); }

/* ---- 平台卡片 ---- */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.platform-card {
    background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg); padding: 28px 22px 24px; text-align: center;
    border: 1px solid var(--glass-border); transition: all var(--transition); cursor: pointer;
    position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
body.light-mode .platform-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.platform-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink));
    opacity: 0; transition: opacity var(--transition);
}
.platform-card::after {
    content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent, rgba(236, 72, 153, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0; transition: opacity var(--transition);
}
.platform-card:hover { transform: translateY(-8px) scale(1.01); background: rgba(255, 255, 255, 0.07); border-color: rgba(139, 92, 246, 0.15); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
body.light-mode .platform-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
.platform-card:hover::before { opacity: 1; }
.platform-card:hover::after { opacity: 1; }

.status-badge {
    position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 30px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.status-ready { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.status-developing { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.status-planned { background: rgba(156, 163, 175, 0.15); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.15); }

.platform-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.10)); display: flex; align-items: center; justify-content: center; color: var(--neon-purple); font-size: 2rem; border: 1px solid rgba(139, 92, 246, 0.08); transition: all var(--transition); }
body.light-mode .platform-card .platform-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.08);
    color: var(--neon-purple);
}
.platform-card:hover .platform-icon { transform: scale(1.06) rotate(2deg); background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.15)); border-color: rgba(139, 92, 246, 0.2); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15); }
.platform-card h3 { font-size: 1.2rem; font-weight: 700; color: white; margin: 0 0 4px 0; letter-spacing: -0.3px; }
body.light-mode .platform-card h3 { color: #1a1a2e; }
.platform-card h3:last-of-type { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 12px; }
.platform-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin: 0 0 18px 0; opacity: 0.85; }

.enter-btn { background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; border: none; padding: 12px 32px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2); letter-spacing: 0.2px; }
.enter-btn:hover { transform: scale(1.05); box-shadow: 0 8px 35px rgba(139, 92, 246, 0.35); }

/* ---- 底部 ---- */
.footer { width: 100%; padding: 50px 0 20px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--glass-border); margin-top: 60px; position: relative; z-index: 1; }
body.light-mode .footer {
    background: #f0ebf8;
    border-color: rgba(0, 0, 0, 0.06);
}
.footer-content { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.footer-columns { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer-column { flex: 1; min-width: 160px; max-width: 220px; }
.footer-column-title { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; border-bottom: 2px solid rgba(139, 92, 246, 0.15); padding-bottom: 10px; letter-spacing: 0.3px; }
body.light-mode .footer-column-title {
    color: #1a1a2e;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}
.footer-column-links { list-style: none; padding: 0; margin: 0; }
.footer-column-links li { margin-bottom: 8px; }
.footer-column-links .footer-link { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: all var(--transition); padding: 4px 0; border-radius: 0; background: transparent; text-align: left; }
body.light-mode .footer-column-links .footer-link { color: #1a1a2e; }
.footer-column-links .footer-link:hover { color: white; transform: translateX(4px); background: transparent; }
body.light-mode .footer-column-links .footer-link:hover { color: var(--neon-purple); }

.social-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 20px 0 30px; }
.social-logo { width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); display: flex; align-items: center; justify-content: center; transition: all var(--transition); text-decoration: none; position: relative; border: 1px solid var(--glass-border); overflow: visible; }
.social-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.social-logo:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); border-color: rgba(139, 92, 246, 0.15); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }

.qr-code { position: absolute; bottom: 68px; left: 50%; transform: translateX(-50%) scale(0.85); width: 170px; background: rgba(20, 20, 40, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); padding: 14px; transition: all 0.3s ease; opacity: 0; z-index: 1000; text-align: center; pointer-events: none; border: 1px solid var(--glass-border); }
.qr-code img { width: 130px; height: 130px; border-radius: 6px; object-fit: cover; margin-bottom: 8px; }
.qr-text { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; line-height: 1.4; }
.social-logo:hover .qr-code { transform: translateX(-50%) scale(1); opacity: 1; }
.qr-code::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); border-width: 8px 8px 0; border-style: solid; border-color: rgba(20, 20, 40, 0.95) transparent transparent; }

.copyright { text-align: center; color: var(--text-muted); font-size: 0.8rem; padding: 16px 0 8px; border-top: 1px solid var(--glass-border); }
body.light-mode .copyright { color: rgba(0, 0, 0, 0.6); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 12px; }
.logo { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.1); }
.logo img.logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
body.light-mode .logo-text { color: rgba(0, 0, 0, 0.6); }
.icp-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.icp-link { color: var(--text-muted); text-decoration: none; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; transition: color var(--transition); }
body.light-mode .icp-link { color: rgba(0, 0, 0, 0.5); }
.icp-link:hover { color: white; }
body.light-mode .icp-link:hover { color: #1a1a2e; }
.icp-link img { width: 16px; height: 16px; vertical-align: middle; }

/* ---- 浮动菜单 ---- */
.float-menu { position: fixed; bottom: 28px; right: 28px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; }
.menu-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; opacity: 0; transform: translateY(16px) scale(0.9); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; }
.float-menu.expanded .menu-items { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.menu-item { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); transition: all var(--transition); position: relative; font-size: 24px; color: white; border: 1px solid rgba(255, 255, 255, 0.06); }
body.light-mode .menu-item {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
.menu-item:hover { transform: translateX(-4px) scale(1.06); }
.menu-item:nth-child(1) { background: linear-gradient(135deg, #f59e0b, #d97706); }
.menu-item:nth-child(2) { background: linear-gradient(135deg, #ec4899, #db2777); }
.menu-item:nth-child(3) { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.menu-item:nth-child(4) { background: linear-gradient(135deg, #10b981, #059669); }
.menu-item a { text-decoration: none; color: white; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; }

.qrcode-popup { position: absolute; top: 50%; right: 68px; transform: translateY(-50%) translateX(8px); background: rgba(20, 20, 40, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 14px; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); opacity: 0; transition: all 0.3s ease; pointer-events: none; width: 150px; text-align: center; z-index: 1001; border: 1px solid var(--glass-border); }
.menu-item.qr-item:hover .qrcode-popup { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: all; }
.qrcode-popup img { width: 120px; height: 120px; display: block; margin: 0 auto 6px; border-radius: 6px; }
.qrcode-popup p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); margin: 2px 0; }
.qrcode-popup::after { content: ''; position: absolute; top: 50%; right: -7px; transform: translateY(-50%); width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 7px solid rgba(20, 20, 40, 0.95); }

.tooltip { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: rgba(0, 0, 0, 0.7); }
.menu-item:hover .tooltip { opacity: 1; }

.menu-toggle { width: 58px; height: 58px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 35px rgba(139, 92, 246, 0.3); font-size: 24px; transition: all var(--transition); border: 1px solid rgba(255, 255, 255, 0.06); }
.menu-toggle:hover { transform: scale(1.06); box-shadow: 0 12px 45px rgba(139, 92, 246, 0.4); }
.float-menu.expanded .menu-toggle { transform: rotate(45deg); }

/* ---- 模态框 ---- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; justify-content: center; align-items: center; z-index: 9999; display: none; }
.modal-content { background: rgba(16, 16, 40, 0.8); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: var(--radius-lg); padding: 36px 32px 32px; max-width: 500px; width: 92%; max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border: 1px solid var(--glass-border); position: relative; }
body.light-mode .modal-content {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 10px; }
.close-modal { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.06); width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); z-index: 10; }
body.light-mode .close-modal {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.06);
}
.close-modal:hover { background: rgba(255, 255, 255, 0.08); color: white; transform: scale(1.06); }
body.light-mode .close-modal:hover { background: rgba(0, 0, 0, 0.08); color: #000; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h2 { font-size: 1.6rem; font-weight: 700; color: white; margin: 0 0 4px 0; }
body.light-mode .auth-header h2 { color: #1a1a2e; }
.auth-header p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }
.auth-form { width: 100%; }
.form-group { margin-bottom: 20px; position: relative; }
.form-label { display: block; color: rgba(255, 255, 255, 0.8); margin-bottom: 6px; font-weight: 500; font-size: 0.85rem; }
body.light-mode .form-label { color: rgba(0, 0, 0, 0.8); }
.form-input { width: 100%; padding: 12px 44px 12px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); color: white; font-size: 0.95rem; transition: all var(--transition); font-family: inherit; }
body.light-mode .form-input {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
.form-input:focus { outline: none; border-color: rgba(139, 92, 246, 0.3); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.05); }
body.light-mode .form-input:focus {
    border-color: var(--neon-purple);
    background: rgba(255, 255, 255, 0.9);
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.25); }
body.light-mode .form-input::placeholder { color: rgba(0, 0, 0, 0.3); }
.input-icon { position: absolute; right: 14px; top: 40px; color: rgba(255, 255, 255, 0.2); font-size: 1rem; }
body.light-mode .input-icon { color: rgba(0, 0, 0, 0.3); }
.error-message { color: #f87171; font-size: 0.8rem; margin-top: 6px; display: flex; align-items: center; gap: 6px; display: none; }
.success-message { color: #34d399; font-size: 0.8rem; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2); }
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(139, 92, 246, 0.35); }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.auth-switch { margin-top: 18px; color: var(--text-secondary); font-size: 0.9rem; text-align: center; line-height: 1.8; }
body.light-mode .auth-switch { color: rgba(0, 0, 0, 0.6); }
.auth-link { color: var(--neon-purple); text-decoration: none; font-weight: 600; transition: color var(--transition); }
.auth-link:hover { color: #a78bfa; text-decoration: underline; }
.oauth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--text-secondary); font-size: 0.8rem; }
.oauth-divider::before, .oauth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.oauth-buttons { display: flex; flex-direction: column; gap: 10px; }
.oauth-btn { width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: white; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.oauth-btn:hover { transform: translateY(-2px); }
.oauth-qq:hover { background: rgba(18, 183, 245, 0.15); border-color: rgba(18, 183, 245, 0.4); }
.oauth-qq i { color: #12b7f5; }
.oauth-alipay:hover { background: rgba(22, 119, 255, 0.15); border-color: rgba(22, 119, 255, 0.4); }
.oauth-alipay i { color: #1677ff; }
.oauth-douyin:hover { background: rgba(254, 44, 85, 0.15); border-color: rgba(254, 44, 85, 0.4); }
.oauth-douyin i { color: #fe2c55; }
body.light-mode .oauth-btn {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-mode .oauth-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}
body.light-mode .oauth-divider::before,
body.light-mode .oauth-divider::after {
    background: rgba(0, 0, 0, 0.1);
}
.oauth-tip { margin: 14px 0 0; text-align: center; font-size: 0.75rem; color: var(--text-secondary); }
.oauth-tip i { margin-right: 4px; }
.password-requirements { background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 8px; border: 1px solid rgba(255, 255, 255, 0.04); }
body.light-mode .password-requirements {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}
.requirements-title { font-weight: 600; font-size: 0.8rem; margin-bottom: 6px; color: rgba(255, 255, 255, 0.7); }
body.light-mode .requirements-title { color: rgba(0, 0, 0, 0.7); }
.requirement { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); display: flex; align-items: center; gap: 6px; padding: 2px 0; }
body.light-mode .requirement { color: rgba(0, 0, 0, 0.5); }
.requirement i { font-size: 0.7rem; width: 16px; }
.requirement.valid { color: #34d399; }
.requirement.valid i { color: #34d399; }
.requirement.invalid { color: #f87171; }
.requirement.invalid i { color: #f87171; }
.terms-agreement { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--text-secondary); font-size: 0.85rem; }
body.light-mode .terms-agreement { color: rgba(0, 0, 0, 0.6); }
.terms-checkbox { width: 16px; height: 16px; accent-color: var(--neon-purple); cursor: pointer; }
.terms-link { color: var(--neon-purple); text-decoration: none; transition: color var(--transition); }
.terms-link:hover { color: #a78bfa; text-decoration: underline; }
.form-input.valid-account { border-color: rgba(52, 211, 153, 0.3); }
.form-input.invalid-account { border-color: rgba(248, 113, 113, 0.3); }

/* ---- 用户中心 ---- */
.user-center { color: white; }
body.light-mode .user-center { color: #1a1a2e; }
.user-header { text-align: center; margin-bottom: 28px; }
.user-avatar-large { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 28px; box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2); border: 2px solid rgba(255, 255, 255, 0.06); }
.user-header h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 2px 0; }
body.light-mode .user-header h2 { color: #1a1a2e; }
.user-header p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }
body.light-mode .user-header p { color: rgba(0, 0, 0, 0.6); }
.user-sections h3 { font-size: 1rem; font-weight: 600; color: white; margin: 0 0 12px 0; }
body.light-mode .user-sections h3 { color: #1a1a2e; }
.license-input-group { display: flex; gap: 10px; margin-bottom: 12px; }
.license-input { flex: 1; padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); color: white; font-size: 0.9rem; font-family: inherit; }
body.light-mode .license-input {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
.license-input:focus { outline: none; border-color: rgba(139, 92, 246, 0.3); }
.license-input::placeholder { color: rgba(255, 255, 255, 0.2); }
body.light-mode .license-input::placeholder { color: rgba(0, 0, 0, 0.3); }
.license-btn { padding: 10px 20px; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.license-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3); }
.license-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.license-info { margin-top: 12px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); border-radius: var(--radius-sm); display: none; border: 1px solid rgba(255, 255, 255, 0.04); }
.tools-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 200px; overflow-y: auto; padding: 2px; }
.tool-item { background: rgba(255, 255, 255, 0.04); padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; color: white; border: 1px solid rgba(255, 255, 255, 0.04); }
body.light-mode .tool-item {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.04);
}
.tool-item strong { display: block; font-weight: 600; }
.tool-item div { font-size: 0.75rem; color: var(--text-secondary); }
.license-item { background: rgba(255, 255, 255, 0.04); padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 8px; color: white; border: 1px solid rgba(255, 255, 255, 0.04); }
body.light-mode .license-item {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
}
.license-item strong { font-weight: 600; }
.license-item div { font-size: 0.8rem; color: var(--text-secondary); }

/* ---- 引导模态框 ---- */
.onboarding-modal-content { max-width: 640px; width: 94%; padding: 32px 28px 26px; border-radius: var(--radius-lg); background: rgba(16, 16, 40, 0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid var(--glass-border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
body.light-mode .onboarding-modal-content {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}
.onboarding-container { color: white; text-align: center; }
body.light-mode .onboarding-container { color: #1a1a2e; }
.onboarding-header { margin-bottom: 24px; }
.onboarding-icon-wrapper { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; padding: 0px; }
.onboarding-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.onboarding-title { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px 0; background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.6)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.light-mode .onboarding-title {
    background: linear-gradient(135deg, #1a1a2e, rgba(26, 26, 46, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.onboarding-subtitle { font-size: 0.95rem; color: var(--text-secondary); margin: 0; }
body.light-mode .onboarding-subtitle { color: rgba(0, 0, 0, 0.6); }
.onboarding-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 22px; text-align: left; }
.onboarding-feature { background: rgba(255, 255, 255, 0.04); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid rgba(255, 255, 255, 0.04); transition: all var(--transition); }
body.light-mode .onboarding-feature {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.04);
}
.onboarding-feature:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); border-color: rgba(139, 92, 246, 0.1); }
body.light-mode .onboarding-feature:hover { background: rgba(255, 255, 255, 0.8); }
.feature-icon { width: 40px; min-width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.feature-text h4 { font-size: 0.9rem; font-weight: 600; margin: 0 0 2px 0; }
body.light-mode .feature-text h4 { color: #1a1a2e; }
.feature-text p { font-size: 0.78rem; color: var(--text-secondary); margin: 0; line-height: 1.4; }
body.light-mode .feature-text p { color: rgba(0, 0, 0, 0.6); }
.onboarding-guide { display: flex; justify-content: center; gap: 24px; margin: 16px 0 22px; padding: 14px 18px; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.04); flex-wrap: wrap; }
.guide-step { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
body.light-mode .guide-step { color: rgba(0, 0, 0, 0.8); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; font-weight: 700; font-size: 0.7rem; flex-shrink: 0; }
.guide-step .step-text a { color: var(--neon-purple); text-decoration: none; font-weight: 500; }
.guide-step .step-text a:hover { text-decoration: underline; }
.onboarding-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.onboarding-btn { padding: 12px 28px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: none; display: inline-flex; align-items: center; gap: 8px; }
.onboarding-btn.primary { background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); color: white; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2); }
.onboarding-btn.primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 35px rgba(139, 92, 246, 0.35); }
.onboarding-btn.primary .btn-hint { font-size: 0.65rem; font-weight: 400; opacity: 0.6; }
.onboarding-btn.secondary { background: rgba(255, 255, 255, 0.04); color: white; border: 1px solid rgba(255, 255, 255, 0.08); }
body.light-mode .onboarding-btn.secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.08);
}
.onboarding-btn.secondary:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.onboarding-footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.04); font-size: 0.8rem; color: var(--text-muted); }
body.light-mode .onboarding-footer { color: rgba(0, 0, 0, 0.5); }
.onboarding-footer a { color: var(--neon-purple); text-decoration: none; font-weight: 500; }
.onboarding-footer a:hover { text-decoration: underline; }

/* ---- 临时消息 ---- */
.temp-message {
    position: fixed; top: 100px; right: 24px; padding: 12px 20px; border-radius: var(--radius-sm);
    z-index: 99999; font-size: 0.9rem; font-weight: 500; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06); max-width: 90vw;
}
body.light-mode .temp-message {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a2e;
}
.temp-message.success { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.15); }
body.light-mode .temp-message.success { background: rgba(16, 185, 129, 0.1); color: #059669; }
.temp-message.error { background: rgba(239, 68, 68, 0.15); color: #f87171; border-color: rgba(239, 68, 68, 0.15); }
body.light-mode .temp-message.error { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.temp-message.info { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.15); }
body.light-mode .temp-message.info { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

/* ---- 邀请码 ---- */
.invitation-code-container {
    margin: 12px 0; padding: 12px 16px; background: rgba(245, 158, 11, 0.06);
    border-radius: var(--radius-sm); border-left: 3px solid #f59e0b;
}
.invitation-code-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; gap: 6px; }
.invitation-code-value { font-size: 1.1rem; font-weight: 700; color: #fbbf24; letter-spacing: 0.5px; font-family: 'Inter', monospace; cursor: pointer; padding: 4px 10px; background: rgba(255, 255, 255, 0.03); border-radius: 6px; display: inline-block; transition: all var(--transition); }
.invitation-code-value:hover { background: rgba(255, 255, 255, 0.06); }
.copy-invite-btn { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.15); color: #fbbf24; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.copy-invite-btn:hover { background: rgba(245, 158, 11, 0.2); transform: translateY(-1px); }
.copy-invite-btn.copied { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.invitation-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ---- iOS 适配 ---- */
@supports (-webkit-touch-callout: none) {
    .modal-overlay { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
    .modal-content { background: rgba(16, 16, 40, 0.9); border: 1px solid rgba(255, 255, 255, 0.06); }
    .navbar { background: rgba(10, 10, 26, 0.7); }
    body.light-mode .modal-overlay { background: rgba(0, 0, 0, 0.5); }
    body.light-mode .modal-content { background: rgba(255, 255, 255, 0.9); border-color: rgba(0, 0, 0, 0.08); }
    body.light-mode .navbar { background: rgba(255, 255, 255, 0.8); }
}

/* ---- 响应式 (简化断点) ---- */
@media (max-width: 1024px) {
    .nav-right .nav-btn:not(.register):not(.login):not(.theme-toggle):not(.hamburger) { display: none; }
    .navbar { padding: 0 20px; height: 62px; width: calc(100% - 20px); border-radius: 30px; }
    .nav-title { font-size: 1rem; }
    .nav-logo { width: 36px; height: 36px; }
    .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .header h1 { font-size: 2.2rem; }
    .header p { font-size: 0.95rem; }
    .intro-section { flex-direction: column; }
    .slider-container { min-height: 280px; }
    .slider-wrapper { min-height: 280px; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { flex-direction: column; gap: 24px; }
    .footer-column { max-width: 100%; min-width: 100%; }
    .footer-column-title { text-align: center; }
    .footer-column-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
    .footer-column-links li { margin-bottom: 0; }
    .footer-column-links .footer-link { padding: 4px 10px; font-size: 0.8rem; background: rgba(255, 255, 255, 0.03); border-radius: 20px; }
    .footer-column-links .footer-link:hover { transform: translateY(-2px); background: rgba(139, 92, 246, 0.08); }
    .social-links { gap: 10px; }
    .social-logo { width: 46px; height: 46px; border-radius: 10px; }
    .qr-code { width: 140px; bottom: 56px; }
    .qr-code img { width: 100px; height: 100px; }
    .icp-links { flex-direction: column; align-items: center; gap: 6px; }
    .onboarding-features { grid-template-columns: 1fr; }
    .onboarding-guide { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
    .onboarding-actions { flex-direction: column; }
    .onboarding-btn { width: 100%; justify-content: center; }
    .onboarding-icon-wrapper { width: 56px; height: 56px; padding: 8px; }
    .onboarding-modal-content { padding: 20px 14px 18px; }
    .onboarding-title { font-size: 1.3rem; }

    /* 汉堡菜单显示 */
    .hamburger { display: flex; }
    .nav-right .nav-btn:not(.register):not(.login):not(.theme-toggle):not(.hamburger) { display: none; }
}

@media (max-width: 480px) {
    .navbar { padding: 0 14px; height: 56px; border-radius: 24px; width: calc(100% - 12px); top: 8px; }
    .nav-title { font-size: 0.85rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-logo { width: 30px; height: 30px; border-radius: 8px; }
    .nav-btn { padding: 5px 12px; font-size: 0.75rem; }
    .nav-right { gap: 4px; }
    body { padding-top: 64px; }
    .platform-grid { grid-template-columns: 1fr; gap: 16px; }
    .platform-card { padding: 20px 16px 18px; }
    .platform-icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .advantages-grid { grid-template-columns: 1fr; }
    .slider-container { min-height: 200px; }
    .slider-wrapper { min-height: 200px; }
    .slider-btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .slide-caption h4 { font-size: 1rem; }
    .slide-caption p { font-size: 0.8rem; }
    .video-controls { gap: 10px; padding: 12px 12px 4px; }
    .video-control-btn { padding: 7px 14px; font-size: 0.75rem; }
    .float-menu { bottom: 18px; right: 18px; }
    .menu-item { width: 50px; height: 50px; font-size: 20px; }
    .menu-toggle { width: 50px; height: 50px; font-size: 20px; }
    .qrcode-popup { width: 130px; right: 58px; }
    .qrcode-popup img { width: 100px; height: 100px; }
    .modal-content { padding: 28px 18px 22px; }
}