/* ========================================
   去淘车 - 汽车模型收藏平台官网样式
   ======================================== */

/* --- CSS Variables - Cyberpunk Style (Dark Mode - Default) --- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-card: rgba(0, 212, 255, 0.04);
    --bg-card-hover: rgba(0, 212, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0f0ff;
    --text-muted: #6080a0;
    --accent-gold: #ffd700;
    --accent-blue: #00d4ff;
    --accent-cyan: #00ffff;
    --accent-purple: #bf00ff;
    --accent-pink: #ff00ff;
    --accent-red: #ff0055;
    --accent-green: #00ff88;
    --accent-orange: #ff6600;
    --gradient-gold: linear-gradient(135deg, #ffd700, #ff8c00);
    --gradient-blue: linear-gradient(135deg, #00d4ff, #bf00ff);
    --gradient-cyan: linear-gradient(135deg, #00ffff, #00d4ff);
    --gradient-pink: linear-gradient(135deg, #ff00ff, #ff0055);
    --gradient-purple: linear-gradient(135deg, #bf00ff, #00d4ff);
    --gradient-dark: linear-gradient(180deg, #0a0a1a 0%, #0f0f2a 50%, #0a0a1a 100%);
    --gradient-cyber: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(191, 0, 255, 0.1));
    --border-subtle: rgba(0, 212, 255, 0.1);
    --border-glow: rgba(0, 212, 255, 0.5);
    --border-pink: rgba(255, 0, 255, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
    --shadow-pink: 0 0 60px rgba(255, 0, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-neon-cyan: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-neon-pink: 0 0 30px rgba(255, 0, 255, 0.3);
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --is-dark: 1;
}

/* --- Light Mode Theme --- */
[data-theme="light"] {
    --bg-primary: #f0f4f8;
    --bg-secondary: #e8eef4;
    --bg-card: rgba(0, 100, 150, 0.06);
    --bg-card-hover: rgba(0, 100, 150, 0.1);
    --text-primary: #1a2a3a;
    --text-secondary: #2a4a6a;
    --text-muted: #6a7a8a;
    --accent-gold: #c9a227;
    --accent-blue: #0066cc;
    --accent-cyan: #0099cc;
    --accent-purple: #7722cc;
    --accent-pink: #cc2277;
    --accent-red: #cc0033;
    --accent-green: #009944;
    --accent-orange: #cc5500;
    --gradient-gold: linear-gradient(135deg, #c9a227, #a08020);
    --gradient-blue: linear-gradient(135deg, #0066cc, #7722cc);
    --gradient-cyan: linear-gradient(135deg, #0099cc, #0066cc);
    --gradient-pink: linear-gradient(135deg, #cc2277, #cc0033);
    --gradient-purple: linear-gradient(135deg, #7722cc, #0066cc);
    --gradient-dark: linear-gradient(180deg, #f0f4f8 0%, #e8eef4 50%, #f0f4f8 100%);
    --gradient-cyber: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(119, 34, 204, 0.08));
    --border-subtle: rgba(0, 102, 204, 0.15);
    --border-glow: rgba(0, 102, 204, 0.4);
    --border-pink: rgba(204, 34, 119, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 102, 204, 0.1);
    --shadow-pink: 0 0 40px rgba(204, 34, 119, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-neon-cyan: 0 0 20px rgba(0, 153, 204, 0.2);
    --shadow-neon-pink: 0 0 20px rgba(204, 34, 119, 0.2);
    --is-dark: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
/* 自定义光标 */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cursor-glow::before {
    content: '🚗';
    position: absolute;
}
.cursor-glow.hover {
    transform: translate(-50%, -50%) scale(1.3);
}
/* 彗星尾巴 */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.cursor-trail canvas {
    display: block;
}
/* 交互元素恢复光标 */
a, button, .nav-link, .download-btn, .tab-btn, .qr-close,
.photo-wall-item:hover, .social-icon, .model-car, .showcase-car {
    cursor: none;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 2rem; transition: var(--transition-smooth);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid var(--border-subtle);
}

/* 浅色模式导航栏 */
[data-theme="light"] .navbar.scrolled {
    background: rgba(240, 244, 248, 0.9);
}
.nav-container {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; height: 72px;
}
.nav-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
}
.logo-text {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
    letter-spacing: 2px;
    /* 金属银质感 */
    background: linear-gradient(180deg,
        #e8e8e8 0%,
        #ffffff 15%,
        #b8b8c8 30%,
        #e0e0e8 45%,
        #a8a8b8 55%,
        #d0d0d8 70%,
        #9098a8 85%,
        #c8c8d4 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* 浅色模式Logo文字 */
[data-theme="light"] .logo-text {
    background: linear-gradient(180deg,
        #1a2a3a 0%,
        #2a4a6a 30%,
        #1a2a3a 50%,
        #2a4a6a 70%,
        #1a2a3a 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
.nav-menu > li { display: flex; align-items: center; }
.nav-link {
    font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition-fast); position: relative; padding: 0.25rem 0;
    display: flex; align-items: center; height: 100%;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient-gold); border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--accent-cyan);
}
.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-neon-cyan);
    transform: scale(1.1);
}
.theme-toggle .moon-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .moon-icon { display: block; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 1001; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-smooth); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.gradient-sphere {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5;
    animation: floatSphere 10s ease-in-out infinite, breatheSphere 6s ease-in-out infinite;
}
.sphere-1 { width: 600px; height: 600px; background: linear-gradient(135deg, var(--accent-cyan), rgba(0, 212, 255, 0.6)); top: -15%; right: -10%; animation-delay: 0s, 0s; }
.sphere-2 { width: 450px; height: 450px; background: linear-gradient(135deg, var(--accent-pink), rgba(255, 0, 255, 0.6)); bottom: -15%; left: -8%; animation-delay: -5s, -2s; }
.sphere-3 { width: 300px; height: 300px; background: linear-gradient(135deg, var(--accent-purple), rgba(191, 0, 255, 0.6)); top: 40%; left: 40%; animation-delay: -2s, -4s; opacity: 0.4; }

/* 浅色模式渐变球体 */
[data-theme="light"] .gradient-sphere {
    opacity: 0.2;
}
[data-theme="light"] .sphere-1 {
    background: linear-gradient(135deg, var(--accent-blue), rgba(0, 102, 204, 0.4));
}
[data-theme="light"] .sphere-2 {
    background: linear-gradient(135deg, var(--accent-purple), rgba(119, 34, 204, 0.4));
}
[data-theme="light"] .sphere-3 {
    background: linear-gradient(135deg, var(--accent-blue), rgba(0, 102, 204, 0.4));
}

@keyframes floatSphere {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.06); }
    66% { transform: translate(-30px, 20px) scale(0.94); }
}
@keyframes breatheSphere {
    0%, 100% { opacity: 0.45; filter: blur(120px); }
    50% { opacity: 0.65; filter: blur(100px); }
}

/* Grid lines background - Cyberpunk */
.grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Particles */
.particles { position: absolute; inset: 0; }
.particle {
    position: absolute; border-radius: 50%;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* 照片墙 Background */
.brand-fall-container {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    overflow: hidden;
    /* 性能优化：启用GPU加速和渲染优化 */
    transform: translateZ(0);
    will-change: contents;
}
/* 底部渐隐 - 深色模式 */
.brand-fall-container::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(10,10,26,0.1) 8%,
        rgba(10,10,26,0.3) 20%,
        rgba(10,10,26,0.6) 38%,
        rgba(10,10,26,0.85) 55%,
        rgba(10,10,26,1) 72%
    );
    z-index: 2;
    pointer-events: none;
}
/* 顶部渐隐 - 深色模式 */
.brand-fall-container::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 15%;
    background: linear-gradient(to top,
        transparent 0%,
        rgba(10,10,26,0.3) 50%,
        rgba(10,10,26,0.7) 80%,
        rgba(10,10,26,1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* 浅色模式照片墙渐变覆盖 */
[data-theme="light"] .brand-fall-container::after {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(240,244,248,0.1) 8%,
        rgba(240,244,248,0.3) 20%,
        rgba(240,244,248,0.6) 38%,
        rgba(240,244,248,0.85) 55%,
        rgba(240,244,248,1) 72%
    );
}
[data-theme="light"] .brand-fall-container::before {
    background: linear-gradient(to top,
        transparent 0%,
        rgba(240,244,248,0.3) 50%,
        rgba(240,244,248,0.7) 80%,
        rgba(240,244,248,1) 100%
    );
}

.brand-fade-hint {
    position: absolute;
    left: 50%; bottom: 5%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: hintPulse 2.5s ease-in-out infinite;
}
.brand-fade-hint .hint-dots {
    display: flex; gap: 6px;
}
.brand-fade-hint .hint-dots span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(240,192,96,0.4);
    animation: dotBlink 1.5s ease-in-out infinite;
}
.brand-fade-hint .hint-dots span:nth-child(2) { animation-delay: 0.2s; }
.brand-fade-hint .hint-dots span:nth-child(3) { animation-delay: 0.4s; }
.brand-fade-hint .hint-text {
    font-size: 0.75rem;
    color: rgba(240,192,96,0.35);
    letter-spacing: 0.2em;
}
@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
@keyframes dotBlink {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.6); }
}

/* 照片墙照片 */
.photo-wall-item {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1.5px solid rgba(255,255,255,0.12);
    box-shadow:
        0 2px 12px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.08);
    /* 性能优化 */
    content-visibility: auto;
    contain: layout style;
    transform: translateZ(0);
    backface-visibility: hidden;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    pointer-events: auto;
}
.photo-wall-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.08) 0%,
        transparent 40%,
        rgba(0,0,0,0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.photo-wall-item.visible {
    opacity: 0.22;
    transform: scale(1);
}
/* 突出品牌 */
.photo-wall-item.featured {
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    box-shadow:
        0 2px 16px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 0 1px rgba(255,255,255,0.08);
}
.photo-wall-item.featured.visible {
    opacity: 0.4;
    transform: scale(1.05);
}
.photo-wall-item:hover {
    opacity: 0.85 !important;
    transform: scale(1.08) !important;
    z-index: 10 !important;
    border-color: rgba(0, 102, 204, 0.7);
    box-shadow:
        0 4px 24px rgba(0, 102, 204, 0.3),
        0 0 40px rgba(0, 102, 204, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
    pointer-events: auto;
}
.photo-wall-item.featured:hover {
    opacity: 0.95 !important;
    border-color: rgba(0, 102, 204, 0.8);
    box-shadow:
        0 4px 30px rgba(0, 102, 204, 0.4),
        0 0 50px rgba(0, 102, 204, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 0 30px rgba(0, 102, 204, 0.2);
}
.photo-wall-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(80%) brightness(0.7) saturate(0.5);
    transition: filter 0.5s ease;
    border-radius: 28px;
}
.photo-wall-item:hover img {
    filter: grayscale(0%) brightness(1) saturate(1.2);
}
.photo-wall-item.featured img {
    filter: grayscale(0%) brightness(0.95) saturate(1);
}
/* 自动点亮效果 */
.photo-wall-item.lit {
    opacity: 0.85 !important;
    transform: scale(1.08) !important;
    z-index: 10 !important;
    border-color: rgba(0, 102, 204, 0.7);
    box-shadow:
        0 4px 24px rgba(0, 102, 204, 0.3),
        0 0 40px rgba(0, 102, 204, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.photo-wall-item.lit img {
    filter: grayscale(0%) brightness(1) saturate(1.2);
}
.photo-wall-item.featured.lit {
    opacity: 0.95 !important;
    border-color: rgba(0, 102, 204, 0.8);
    box-shadow:
        0 4px 30px rgba(0, 102, 204, 0.4),
        0 0 50px rgba(0, 102, 204, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 0 30px rgba(0, 102, 204, 0.2);
}

/* 浅色模式照片墙调整 - 未点亮偏白，点亮不加遮罩 */
[data-theme="light"] .photo-wall-item {
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .photo-wall-item::before {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.5) 0%,
        rgba(255,255,255,0.2) 40%,
        rgba(255,255,255,0.4) 100%
    );
}
[data-theme="light"] .photo-wall-item img {
    filter: grayscale(60%) brightness(0.95) saturate(0.6) contrast(0.95);
}
[data-theme="light"] .photo-wall-item.featured {
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: rgba(255,255,255,0.9);
    box-shadow:
        0 2px 16px rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}
[data-theme="light"] .photo-wall-item.featured img {
    filter: grayscale(30%) brightness(0.98) saturate(0.7) contrast(0.95);
}
[data-theme="light"] .photo-wall-item.visible {
    opacity: 0.55;
}
[data-theme="light"] .photo-wall-item.featured.visible {
    opacity: 0.65;
}
/* 浅色模式下点亮状态：不加遮罩，显示图片原色 */
[data-theme="light"] .photo-wall-item.lit {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 102, 204, 0.5);
    box-shadow:
        0 4px 24px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
[data-theme="light"] .photo-wall-item.lit::before {
    background: transparent;
}
[data-theme="light"] .photo-wall-item.lit img {
    filter: grayscale(0%) brightness(1) saturate(1) contrast(1);
}
[data-theme="light"] .photo-wall-item.featured.lit {
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 4px 30px rgba(255, 255, 255, 0.8),
        0 0 50px rgba(255, 255, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .photo-wall-item.lit:hover {
    border-color: rgba(0, 102, 204, 0.7);
}
[data-theme="light"] .photo-wall-item:hover img {
    filter: grayscale(0%) brightness(1) saturate(1.1);
}
[data-theme="light"] .photo-wall-item.featured:hover {
    border-color: rgba(0, 102, 204, 0.8);
    box-shadow:
        0 4px 30px rgba(255, 255, 255, 0.8),
        0 0 50px rgba(0, 102, 204, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 浮动动画 */
@keyframes photoFloat1 {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-6px) translateX(3px); }
    50% { transform: translateY(-2px) translateX(-2px); }
    75% { transform: translateY(-8px) translateX(4px); }
}
@keyframes photoFloat2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-4px) translateX(-3px); }
    66% { transform: translateY(-7px) translateX(2px); }
}
@keyframes photoFloat3 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-5px) translateX(1px); }
}

.hero-content {
    max-width: 1100px; margin: 0 auto; width: 100%;
    display: flex; flex-direction: row;
    align-items: center; justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative; z-index: 10;
}

.hero-text {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    max-width: 560px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    background: #1a1a2e;
    overflow: visible;
}
/* 外发光环 - 赛博朋克霓虹光环 */
.hero-logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 36px;
    background: conic-gradient(
        from 0deg,
        rgba(0, 212, 255, 0.4) 0deg,
        rgba(255, 0, 255, 0.5) 60deg,
        rgba(0, 212, 255, 0.4) 120deg,
        rgba(255, 0, 255, 0.5) 180deg,
        rgba(0, 212, 255, 0.4) 240deg,
        rgba(255, 0, 255, 0.5) 300deg,
        rgba(0, 212, 255, 0.4) 360deg
    );
    animation: logoRotate 6s linear infinite;
    z-index: 0;
    filter: blur(8px);
    opacity: 0.7;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 80px rgba(255, 0, 255, 0.3);
}
/* 内部光晕 - 赛博朋克呼吸光效 */
.hero-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: radial-gradient(
        circle at center,
        rgba(0, 212, 255, 0.2) 0%,
        rgba(255, 0, 255, 0.1) 40%,
        transparent 70%
    );
    animation: logoPulse 2.5s ease-in-out infinite;
    z-index: 2;
}
@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes logoPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
.hero-logo-icon {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 28px;
}
.hero-logo-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0) 20%,
        rgba(255,255,255,0.6) 40%,
        rgba(255,255,255,0.9) 50%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: logoShine 2.5s ease-in-out infinite;
    z-index: 3;
    border-radius: 28px;
    pointer-events: none;
    filter: blur(2px);
}
@keyframes logoShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem; color: var(--accent-cyan);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}
[data-theme="light"] .hero-badge {
    color: #000000;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .cta-btn.secondary {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #1a2a3a;
}
[data-theme="light"] .cta-btn.secondary:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--accent-gold);
    color: #a08020;
}
.badge-dot {
    width: 8px; height: 8px; background: var(--accent-cyan);
    border-radius: 50%; animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-gold); }
    50% { opacity: 0.5; box-shadow: 0 0 2px var(--accent-gold); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900;
    line-height: 1.15; margin-bottom: 1.5rem;
}
.title-line.accent {
    background: var(--gradient-gold);
    color: var(--accent-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    position: relative;
    display: inline-block;
}
.title-line.accent::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.9) 50%,
        rgba(255,255,255,0) 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    mix-blend-mode: overlay;
}
@keyframes titleGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.8;
}

.hero-stats {
    display: flex; gap: 2.5rem; margin-bottom: 2.5rem;
    justify-content: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-value { display: flex; align-items: baseline; }
.stat-number {
    font-family: var(--font-display); font-size: 2rem; font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.stat-unit {
    font-family: var(--font-display); font-size: 1rem;
    color: var(--accent-gold); margin-left: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.cta-btn {
    display: inline-flex; align-items: center; padding: 0.85rem 2rem;
    border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    transition: var(--transition-smooth); cursor: pointer;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}
.cta-btn.primary {
    background: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2), 0 0 30px rgba(0, 212, 255, 0.1);
}
.cta-btn.primary:hover {
    transform: translateY(-2px);
    background: rgba(0, 212, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.2);
    border-color: var(--accent-cyan);
}
.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}
.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* App首页预览 - 仅PC端显示 */
.hero-app-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.app-preview-frame {
    width: 300px;
    height: auto;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

/* 浅色模式适配 */
[data-theme="light"] .app-preview-frame {
    background: #f0f4f8;
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 8px 30px rgba(0, 102, 204, 0.1);
}

.app-preview-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 18px;
    background: var(--bg-secondary);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.app-preview-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.app-preview-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    opacity: 0.85;
}

.case-glass {
    position: absolute; inset: 20px 20px 60px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(240, 192, 96, 0.2);
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 60px rgba(240,192,96,0.03), 0 0 40px rgba(240,192,96,0.06);
    overflow: visible;
}

.case-shelf {
    position: absolute; left: 15px; right: 15px;
    display: flex; justify-content: space-around; align-items: flex-end;
}
.shelf-1 { bottom: 55%; height: 50%; }
.shelf-2 { bottom: 5%; height: 50%; border-top: 1px solid rgba(240,192,96,0.08); padding-top: 8px; }

/* Model cars in display case */
.model-car {
    position: relative; display: flex; flex-direction: column; align-items: center;
    transition: var(--transition-smooth); cursor: pointer;
}
.model-car:hover { transform: translateY(-8px) scale(1.08); }
.model-car:hover .mc-stand { opacity: 1; transform: translateY(0); }

.mc-body { position: relative; }
.mc-chassis {
    width: 50px; height: 16px;
    border-radius: 8px 8px 2px 2px;
}

/* Supercar (red) */
.mc-supercar .mc-chassis {
    width: 55px; height: 14px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    border-radius: 15px 25px 2px 2px;
    box-shadow: 0 6px 20px rgba(239,68,68,0.3);
}
.mc-supercar .mc-cabin {
    position: absolute; bottom: 10px; left: 15px; right: 15px;
    height: 16px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 12px 12px 1px 1px;
}

/* Classic (silver) */
.mc-classic .mc-chassis {
    width: 52px; height: 13px;
    background: linear-gradient(180deg, #c0c0c0, #808080);
    border-radius: 20px 30px 2px 2px;
    box-shadow: 0 6px 20px rgba(192,192,192,0.3);
}
.mc-classic .mc-cabin {
    position: absolute; bottom: 9px; left: 12px; right: 12px;
    height: 14px;
    background: linear-gradient(180deg, #c0c0c0, #909090);
    border-radius: 14px 14px 1px 1px;
}

/* SUV (green) */
.mc-suv .mc-chassis {
    width: 56px; height: 18px;
    background: linear-gradient(180deg, #22c55e, #15803d);
    border-radius: 8px 8px 2px 2px;
    box-shadow: 0 6px 20px rgba(34,197,94,0.3);
}
.mc-suv .mc-cabin {
    position: absolute; bottom: 14px; left: 8px; right: 8px;
    height: 18px;
    background: linear-gradient(180deg, #22c55e, #16a34a);
    border-radius: 10px 10px 1px 1px;
}

/* F1 (blue) */
.mc-f1 .mc-chassis {
    width: 60px; height: 8px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 15px 3px 1px 1px;
    box-shadow: 0 6px 20px rgba(59,130,246,0.3);
}
.mc-f1 .mc-cabin {
    position: absolute; bottom: 4px; left: 20px; right: 20px;
    height: 12px;
    background: linear-gradient(180deg, #1e3a5f, #0f1f3d);
    border-radius: 6px 6px 1px 1px;
}
.mc-f1 .mc-wing {
    position: absolute; bottom: 14px; left: -8px; right: -8px;
    height: 3px; background: #1d4ed8; border-radius: 2px;
}

/* Wheels common */
.mc-wheel {
    position: absolute; width: 10px; height: 10px;
    background: radial-gradient(circle at 40% 40%, #555, #1a1a1a);
    border-radius: 50%; border: 2px solid #333;
    bottom: 0;
    animation: wheelSpin 3s linear infinite;
}
@keyframes wheelSpin { to { transform: rotate(360deg); } }

.mw-fl { left: 6px; }
.mw-fr { right: 6px; }
.mw-rl { left: 20px; }
.mw-rr { right: 14px; }

.mc-spoiler {
    position: absolute; bottom: 18px; right: 2px;
    width: 18px; height: 3px; background: #333; border-radius: 2px;
    transform: rotate(-5deg);
}

.mc-stand {
    margin-top: 6px; opacity: 0.7; transform: translateY(-2px);
    transition: var(--transition-smooth);
}
.mc-label {
    font-size: 0.5rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
    font-family: var(--font-display);
}

/* Case lights */
.case-lights { position: absolute; inset: 0; pointer-events: none; }
.case-light {
    position: absolute; width: 20px; height: 20px;
    background: var(--accent-gold); border-radius: 50%;
    box-shadow: 0 0 20px rgba(240,192,96,0.6);
    animation: lightGlow 3s ease-in-out infinite alternate;
}
.case-light.top-left { top: -8px; left: -8px; animation-delay: 0s; }
.case-light.top-right { top: -8px; right: -8px; animation-delay: 1.5s; }
@keyframes lightGlow {
    from { opacity: 0.4; box-shadow: 0 0 10px rgba(240,192,96,0.3); }
    to { opacity: 0.8; box-shadow: 0 0 25px rgba(240,192,96,0.7); }
}

.case-reflection {
    position: absolute; top: 5px; left: 20px; right: 20px; height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.case-base {
    position: absolute; bottom: 0; left: 15px; right: 15px; height: 50px;
    background: linear-gradient(180deg, #1a1a2e, #0f0f1f);
    border: 1px solid rgba(240,192,96,0.15);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.case-logo-text {
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
    color: var(--accent-gold); letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(240,192,96,0.3);
}

/* --- Scroll indicator --- */
.scroll-indicator {
    width: 100%;
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.78rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 1.5s both;
}
.mouse {
    width: 26px; height: 40px; border: 2px solid var(--text-muted);
    border-radius: 14px; position: relative;
}
.wheel {
    width: 4px; height: 8px; background: var(--accent-gold);
    border-radius: 2px; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* --- Section Common --- */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900;
    text-align: center; margin-bottom: 1rem;
}
.title-glow { position: relative; display: inline-block; }
.title-glow::after {
    content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
    width: 60%; height: 3px; background: var(--gradient-gold); border-radius: 3px;
}
.section-subtitle {
    text-align: center; color: var(--text-secondary);
    font-size: 1rem; margin-bottom: 4rem;
}

/* --- Features Section --- */
.features {
    padding: 6rem 0; background: var(--bg-secondary); position: relative;
}
.features::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative; overflow: hidden;
    cursor: none;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient-gold); opacity: 0; transition: var(--transition-smooth); z-index: 0;
}
.feature-card .card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    transform: translate(-50%, -50%);
}
.feature-card:nth-child(1) { background: rgba(0, 212, 255, 0.06); }
.feature-card:nth-child(1) .card-glow { background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%); }
.feature-card:nth-child(2) { background: rgba(255, 0, 255, 0.06); }
.feature-card:nth-child(2) .card-glow { background: radial-gradient(circle, rgba(255, 0, 255, 0.25) 0%, transparent 70%); }
.feature-card:nth-child(3) { background: rgba(0, 255, 136, 0.06); }
.feature-card:nth-child(3) .card-glow { background: radial-gradient(circle, rgba(0, 255, 136, 0.25) 0%, transparent 70%); }
.feature-card:nth-child(4) { background: rgba(255, 102, 0, 0.06); }
.feature-card:nth-child(4) .card-glow { background: radial-gradient(circle, rgba(255, 102, 0, 0.25) 0%, transparent 70%); }
.feature-card:nth-child(5) { background: rgba(191, 0, 255, 0.06); }
.feature-card:nth-child(5) .card-glow { background: radial-gradient(circle, rgba(191, 0, 255, 0.25) 0%, transparent 70%); }
.feature-card:nth-child(6) { background: rgba(255, 0, 85, 0.06); }
.feature-card:nth-child(6) .card-glow { background: radial-gradient(circle, rgba(255, 0, 85, 0.25) 0%, transparent 70%); }
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 0.04; }
.feature-card > * { position: relative; z-index: 1; }
.card-decoration {
    position: absolute; inset: 0; z-index: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; overflow: hidden;
}
.card-decoration svg {
    width: 100%; height: 100%;
    transition: var(--transition-smooth);
}
.feature-card:hover .card-decoration svg { opacity: 0.12; }
.feature-card:nth-child(1) .card-decoration svg { color: #f0c060; }
.feature-card:nth-child(2) .card-decoration svg { color: #60a5f0; }
.feature-card:nth-child(3) .card-decoration svg { color: #60f0a0; }
.feature-card:nth-child(4) .card-decoration svg { color: #f08c60; }
.feature-card:nth-child(5) .card-decoration svg { color: #c060f0; }
.feature-card:nth-child(6) .card-decoration svg { color: #f06090; }
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-cyan);
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}
.feature-card:hover .feature-icon {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 0 50px rgba(0, 212, 255, 0.2);
    transform: scale(1.08);
}
.feature-icon svg { width: 34px; height: 34px; }
.feature-card h3 {
    font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem;
    text-align: center; color: var(--text-primary);
}
.feature-card p {
    font-size: 0.88rem; color: var(--text-secondary);
    line-height: 1.7; text-align: center;
}

/* --- Showcase Section --- */
.showcase {
    padding: 6rem 0; position: relative;
}
.showcase-tabs {
    display: flex; justify-content: center; gap: 0.75rem;
    margin-bottom: 3rem; flex-wrap: wrap;
}
.tab-btn {
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card); color: var(--text-secondary);
    border-radius: 50px; font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: var(--transition-smooth);
    font-family: var(--font-body); white-space: nowrap;
}
.tab-btn:hover { border-color: var(--border-glow); color: var(--text-primary); }
.tab-btn.active {
    background: var(--gradient-gold); border-color: transparent;
    color: #1a1a1a; box-shadow: 0 4px 20px rgba(240,192,96,0.25);
}

.showcase-content { position: relative; min-height: 480px; }
.showcase-car {
    display: none; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
    animation: fadeSlideIn 0.5s ease;
}
.showcase-car.active { display: grid; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rotating platform for large models */
.showcase-model {
    display: flex; align-items: center; justify-content: center;
    height: 360px; position: relative;
}
.rotating-platform {
    position: relative; width: 280px; height: 280px;
    display: flex; align-items: center; justify-content: center;
    animation: platformRotate 20s linear infinite;
}
@keyframes platformRotate { to { transform: rotateY(360deg); } }

.platform-base {
    position: absolute; bottom: 20px;
    width: 180px; height: 180px;
    background: radial-gradient(ellipse at center, rgba(240,192,96,0.08), transparent 70%);
    border-radius: 50%;
    border: 1px solid rgba(240,192,96,0.15);
}
.platform-ring {
    position: absolute; bottom: 10px;
    width: 200px; height: 200px;
    border: 2px dashed rgba(240,192,96,0.12);
    border-radius: 50%;
    animation: ringSpin 15s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* Large model cars */
.model-car-lg {
    position: relative; z-index: 2;
    animation: modelHover 3s ease-in-out infinite;
}
@keyframes modelHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Supercar large */
.supercar-lg .mlg-body { position: relative; width: 160px; height: 50px; }
.supercar-lg .mlg-nose {
    position: absolute; bottom: 10px; left: 0; width: 50px; height: 18px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    border-radius: 20px 40px 2px 2px;
    box-shadow: 0 8px 25px rgba(239,68,68,0.4);
}
.supercar-lg .mlg-cabin {
    position: absolute; bottom: 24px; left: 40px; width: 70px; height: 24px;
    background: linear-gradient(180deg, #dc2626, #991b1b);
    border-radius: 20px 20px 2px 2px;
}
.supercar-lg .mlg-tail {
    position: absolute; bottom: 10px; right: 0; width: 40px; height: 16px;
    background: linear-gradient(180deg, #ef4444, #b91c1c);
    border-radius: 30px 15px 2px 2px;
}
.supercar-lg .mlg-intake {
    position: absolute; bottom: 16px; left: 55px; width: 16px; height: 8px;
    background: #1a1a1a; border-radius: 3px;
}
.supercar-lg .mlg-spoiler-lg {
    position: absolute; bottom: 28px; right: 5px;
    width: 35px; height: 5px; background: #333; border-radius: 3px;
    transform: rotate(-8deg);
}

/* Classic large */
.classic-lg .mlg-body { position: relative; width: 155px; height: 45px; }
.classic-lg .mlg-nose {
    position: absolute; bottom: 10px; left: 0; width: 45px; height: 15px;
    background: linear-gradient(180deg, #d4d4d4, #a3a3a3);
    border-radius: 25px 35px 2px 2px;
    box-shadow: 0 8px 25px rgba(212,212,212,0.3);
}
.classic-lg .mlg-cabin {
    position: absolute; bottom: 21px; left: 35px; width: 65px; height: 20px;
    background: linear-gradient(180deg, #c0c0c0, #909090);
    border-radius: 18px 18px 2px 2px;
}
.classic-lg .mlg-tail {
    position: absolute; bottom: 10px; right: 0; width: 50px; height: 14px;
    background: linear-gradient(180deg, #d4d4d4, #a3a3a3);
    border-radius: 30px 15px 2px 2px;
}

/* SUV large */
.suv-lg .mlg-body { position: relative; width: 150px; height: 60px; }
.suv-lg .mlg-nose {
    position: absolute; bottom: 10px; left: 0; width: 40px; height: 22px;
    background: linear-gradient(180deg, #22c55e, #15803d);
    border-radius: 8px 10px 2px 2px;
    box-shadow: 0 8px 25px rgba(34,197,94,0.4);
}
.suv-lg .mlg-cabin {
    position: absolute; bottom: 26px; left: 25px; right: 25px; height: 28px;
    background: linear-gradient(180deg, #22c55e, #16a34a);
    border-radius: 12px 12px 2px 2px;
}
.suv-lg .mlg-tail {
    position: absolute; bottom: 10px; right: 0; width: 35px; height: 22px;
    background: linear-gradient(180deg, #22c55e, #15803d);
    border-radius: 6px 8px 2px 2px;
}
.suv-lg .mlg-roof-rack {
    position: absolute; bottom: 50px; left: 30px; right: 30px;
    height: 4px; background: #444; border-radius: 2px;
}

/* Racing F1 large */
.racing-lg .mlg-body { position: relative; width: 180px; height: 40px; }
.racing-lg .mlg-nose {
    position: absolute; bottom: 6px; left: 0; width: 50px; height: 8px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 3px 6px 1px 1px;
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}
.racing-lg .mlg-cabin {
    position: absolute; bottom: 10px; left: 50px; width: 40px; height: 14px;
    background: linear-gradient(180deg, #1e3a5f, #0a1628);
    border-radius: 6px 6px 1px 1px;
}
.racing-lg .mlg-tail {
    position: absolute; bottom: 6px; right: 0; width: 60px; height: 7px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 2px 2px 1px 1px;
}
.racing-lg .mlg-sidepod-l {
    position: absolute; bottom: 8px; left: 55px;
    width: 18px; height: 6px;
    background: #1d4ed8; border-radius: 3px;
}
.racing-lg .mlg-sidepod-r {
    position: absolute; bottom: 8px; right: 65px;
    width: 18px; height: 6px;
    background: #1d4ed8; border-radius: 3px;
}
.racing-lg .mlg-front-wing {
    position: absolute; bottom: 14px; left: -12px;
    width: 24px; height: 3px;
    background: #2563eb; border-radius: 2px;
}
.racing-lg .mlg-rear-wing {
    position: absolute; bottom: 16px; right: -8px;
    width: 20px; height: 3px;
    background: #2563eb; border-radius: 2px;
}

/* Large model wheels */
.mlg-wheel {
    position: absolute; width: 14px; height: 14px;
    background: radial-gradient(circle at 40% 40%, #666, #1a1a1a);
    border-radius: 50%; border: 3px solid #333;
    bottom: 4px;
    animation: wheelSpin 2s linear infinite;
}
.supercar-lg .mlg-wheel.w-fl { left: 12px; }
.supercar-lg .mlg-wheel.w-fr { right: 12px; }
.supercar-lg .mlg-wheel.w-rl { left: 48px; }
.supercar-lg .mlg-wheel.w-rr { right: 36px; }

.classic-lg .mlg-wheel.w-fl { left: 10px; }
.classic-lg .mlg-wheel.w-fr { right: 10px; }
.classic-lg .mlg-wheel.w-rl { left: 42px; }
.classic-lg .mlg-wheel.w-rr { right: 38px; }

.suv-lg .mlg-wheel.w-fl { left: 10px; }
.suv-lg .mlg-wheel.w-fr { right: 10px; }
.suv-lg .mlg-wheel.w-rl { left: 38px; }
.suv-lg .mlg-wheel.w-rr { right: 32px; }

.racing-lg .mlg-wheel.w-fl { left: 16px; bottom: 0px; }
.racing-lg .mlg-wheel.w-fr { right: 16px; bottom: 0px; }
.racing-lg .mlg-wheel.w-rl { left: 58px; bottom: 0px; }
.racing-lg .mlg-wheel.w-rr { right: 50px; bottom: 0px; }

/* Showcase info */
.showcase-info { padding: 1.5rem; }
.car-badge {
    display: inline-block; padding: 0.3rem 1rem;
    background: rgba(240,192,96,0.1);
    border: 1px solid rgba(240,192,96,0.25);
    border-radius: 50px; font-size: 0.8rem; font-weight: 600;
    color: var(--accent-gold); margin-bottom: 1rem;
}
.showcase-info h3 {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 900;
    margin-bottom: 0.6rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.showcase-info p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.25rem; }
.car-specs { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.car-specs span {
    padding: 0.45rem 1.1rem;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    border-radius: 50px; font-size: 0.82rem; color: var(--text-secondary);
    transition: var(--transition-fast);
}
.car-specs span:hover { border-color: var(--border-glow); color: var(--text-primary); }

/* --- Community Section --- */
.community {
    padding: 6rem 0; background: var(--bg-secondary); position: relative;
}
.community::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.community-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    min-height: 200px;
    transition: var(--transition-smooth);
    cursor: none;
}
.community-card .card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    transform: translate(-50%, -50%);
}
.community-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}
.community-card.card-large { grid-column: span 2; min-height: 220px; }
.community-card.card-wide { grid-column: span 2; }

.community-card-bg {
    position: absolute; inset: 0;
    transition: var(--transition-smooth);
}
.community-card:hover .community-card-bg { transform: scale(1.05); }
.bg-1 {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(255, 0, 255, 0.08));
}
.bg-2 {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.12), rgba(191, 0, 255, 0.08));
}
.bg-3 {
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.12), rgba(255, 0, 255, 0.08));
}
.bg-4 {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 212, 255, 0.08));
}
.bg-5 {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(255, 0, 255, 0.08));
}

/* 勋章样式 */
.medal-rotate {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}
.medal-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.1s ease-out;
    object-fit: cover;
    cursor: pointer;
}

.community-card-content {
    position: relative; z-index: 1; padding: 2rem;
}
.community-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 0.25rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px; font-size: 0.75rem;
    color: var(--accent-cyan); margin-bottom: 0.75rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.community-tag .tag-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.community-card-content h3 {
    font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem;
}
.community-card-content p {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6;
}
.community-avatars {
    display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
}
.avatar {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
    animation: avatarFloat 3s ease-in-out infinite;
    cursor: default;
}
.avatar:nth-child(1) { animation-delay: 0s; }
.avatar:nth-child(2) { animation-delay: 0.5s; }
.avatar:nth-child(3) { animation-delay: 1s; }
.avatar:hover {
    transform: scale(1.3) rotate(10deg);
    background: rgba(255, 255, 255, 0.15);
}
.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
@keyframes avatarFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-5deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(5deg);
    }
}
.avatar-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* --- Download Section --- */
.download {
    padding: 6rem 0; position: relative;
    overflow: hidden;
}
.download-barrage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.barrage-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.barrage-item {
    position: absolute;
    white-space: nowrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: barrageMove linear forwards;
    pointer-events: none;
    backdrop-filter: blur(10px);
    right: -300px;
}

/* 浅色模式弹幕样式 */
[data-theme="light"] .barrage-item {
    color: rgba(26, 42, 58, 0.7);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 102, 204, 0.15);
}
@keyframes barrageMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100vw - 600px));
    }
}
.download-buttons {
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.download-btn {
    position: relative; padding: 1.5rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
    cursor: pointer; transition: var(--transition-smooth);
    min-width: 280px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: auto;
}
.download-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
    background: conic-gradient(
        from var(--btn-angle, 0deg),
        transparent 0%,
        transparent 40%,
        var(--btn-glow-color, var(--accent-gold)) 45%,
        rgba(240, 192, 96, 0.6) 50%,
        var(--btn-glow-color, var(--accent-gold)) 55%,
        transparent 60%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    animation: btnBorderFlow 3s linear infinite;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
.download-btn:hover::after {
    opacity: 1;
}
.android-btn { --btn-glow-color: rgba(34,197,94,0.8); }
.ios-btn { --btn-glow-color: rgba(139,92,246,0.8); }
.wechat-btn { --btn-glow-color: rgba(7,193,96,0.8); }
@property --btn-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes btnBorderFlow {
    0% { --btn-angle: 0deg; }
    100% { --btn-angle: 360deg; }
}
.download-btn::before {
    content: ''; position: absolute; inset: 0; opacity: 0;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}
.android-btn::before { background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(240,192,96,0.08)); }
.ios-btn::before { background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(240,192,96,0.08)); }
.wechat-btn::before { background: linear-gradient(135deg, rgba(7,193,96,0.12), rgba(240,192,96,0.08)); }
.download-btn:hover { 
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(200%); -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.download-btn:hover::before { opacity: 1; }
.android-btn:hover {
    border-color: rgba(34,197,94,0.5);
    box-shadow: 0 8px 40px rgba(34,197,94,0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.ios-btn:hover {
    border-color: rgba(139,92,246,0.5);
    box-shadow: 0 8px 40px rgba(139,92,246,0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.wechat-btn:hover {
    border-color: rgba(7,193,96,0.5);
    box-shadow: 0 8px 40px rgba(7,193,96,0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-content { display: flex; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.btn-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--accent-gold); }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-label { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.btn-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.download-btn:disabled {
    cursor: default;
    opacity: 1;
    pointer-events: none;
}
.download-btn:disabled::after {
    animation: none;
    opacity: 0.3;
}
.download-btn:disabled:hover {
    transform: none;
}
.download-btn:disabled:hover::before {
    opacity: 0;
}
.download-btn:disabled .btn-icon {
    color: var(--text-muted);
}
.download-btn:disabled .btn-label {
    color: var(--text-primary);
}

/* --- QR Code Modal --- */
.qr-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: var(--transition-smooth);
}
.qr-overlay.active { opacity: 1; visibility: visible; }
.qr-modal {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl); padding: 3rem;
    text-align: center; position: relative;
    max-width: 420px; width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
    transform: scale(0.9); transition: var(--transition-bounce);
}
.qr-overlay.active .qr-modal { transform: scale(1); }
.qr-close {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: none; font-size: 1.8rem;
    color: var(--text-muted); cursor: pointer;
    transition: var(--transition-fast); line-height: 1;
}
.qr-close:hover { color: var(--text-primary); }
.qr-content h3 {
    font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.qr-code-container { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.qr-code {
    width: 200px; height: 200px; padding: 1rem;
    background: white; border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.qr-code-img {
    display: none;
    width: 200px; height: 200px; padding: 1rem;
    background: white; border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    align-items: center; justify-content: center;
}
.qr-code-img .qr-image {
    width: 100%; height: 100%; object-fit: contain;
    display: block;
}
.qr-svg { width: 100%; height: 100%; }
.qr-platform { font-size: 1rem; font-weight: 600; color: var(--accent-gold); margin-bottom: 0.5rem; }
.qr-tip { font-size: 0.85rem; color: var(--text-muted); }
.qr-tip-miniapp { display: none; }

/* --- Footer --- */
.footer {
    background: #050510; padding: 2.5rem 2rem 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* 浅色模式Footer */
[data-theme="light"] .footer {
    background: #e8eef4;
    border-top: 1px solid rgba(0, 102, 204, 0.15);
}
/* 浅色模式Footer文字颜色 */
[data-theme="light"] .footer-brand p {
    color: #5a6a7a;
}
[data-theme="light"] .footer-col h4 {
    color: #1a2a3a;
}
[data-theme="light"] .footer-col a {
    color: #3a4a5a;
}
[data-theme="light"] .footer-col a:hover {
    color: #0066cc;
}
[data-theme="light"] .footer-info,
[data-theme="light"] .footer-info-text {
    color: #5a6a7a;
}

/* 浅色模式footer SVG颜色 */
[data-theme="light"] .footer-logo-svg svg path {
    fill: #1a2a3a;
}

/* 浅色模式title-line：蓝色渐变 (#0066cc → #7722cc) */
[data-theme="light"] .title-line.accent {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 浅色模式stat-number：蓝色渐变 (#0066cc → #7722cc) */
[data-theme="light"] .stat-number {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] .stat-unit {
    color: var(--accent-blue);
    text-shadow: 0 0 8px rgba(0, 102, 204, 0.25);
}

/* 浅色模式粒子动画 */
[data-theme="light"] .particle {
    opacity: 0.5;
}
[data-theme="light"] .particle:hover {
    opacity: 0.8;
}

.footer-top-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 0.5rem;
}
.footer-logo-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.footer-logo-svg svg {
    width: 160px;
    height: auto;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    vertical-align: middle;
}
.footer-logo-svg svg path {
    fill: #ffffff;
}
.footer-logo-svg svg:hover { opacity: 1; }

/* 流光层：用 SVG 作为 mask，让光效只出现在文字形状内 */
.footer-logo-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.05) 33%,
        rgba(255, 255, 255, 0.4) 38%,
        rgba(255, 255, 255, 0.6) 42%,
        rgba(255, 255, 255, 0.4) 46%,
        rgba(255, 255, 255, 0.05) 51%,
        transparent 60%
    );
    background-size: 250% 100%;
    animation: logoShimmer 2.5s ease-in-out infinite;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642.49 130.62"><g><g><path fill="white" d="M183.45,59.87l-10.32,13.4h-18.41v38.12h-15.94v-38.12h-24.18l10.32-13.4h58.53Z"/><path fill="white" d="M255.23,88.9c0,15.56-10.71,23.34-32.12,23.34-24.8,0-35.5-7.78-35.5-23.34v-29.03h15.86v29.03c0,7.62,3.24,10.09,19.64,10.09,12.25,0,16.09-2.85,16.09-10.09v-29.03h16.02v29.03Z"/><path fill="white" d="M337.34,111.39h-21.33l-11.48-13.63h-24.49v13.63h-15.94v-26.34h44.83c4.93,0,8.78-2.23,8.78-5.78,0-4.01-3.31-6.01-8.78-6.01h-44.83l10.4-13.4h33.12c11.71,0,26.49,3.7,26.49,18.41,0,8.01-5,14.63-13.48,16.33,1.77,1.31,3.7,3.16,7.24,6.78l9.47,10.01Z"/><path fill="white" d="M409.27,96.37c0,8.55-4.7,15.02-20.95,15.02h-45.29v-31.35h45.59c2.31,0,4.47-.85,4.47-3.47s-2.23-3.31-4.47-3.31h-45.59l10.78-13.4h34.12c12.32,0,20.26,4.78,20.26,14.25,0,6.08-3.47,9.47-7.01,10.78,4.47,1.31,8.09,5.31,8.09,11.47ZM359.06,91.06v7.08h29.34c3.47,0,4.93-1.23,4.93-3.62,0-2.23-1.46-3.47-4.93-3.47h-29.34Z"/><path fill="white" d="M490.99,85.59c0,18.41-12.63,26.65-37.66,26.65s-37.66-8.24-37.66-26.65,12.55-26.57,37.66-26.57,37.66,8.16,37.66,26.57ZM475.12,85.59c0-11.09-5.78-13.17-21.8-13.17s-21.8,2.08-21.8,13.17,5.78,13.25,21.8,13.25,21.8-2.16,21.8-13.25Z"/><path fill="white" d="M513.94,80.43h32.58c11.71,0,19.25,4.93,19.25,14.25,0,14.17-15.48,17.56-32.19,17.56-23.72,0-36.12-8.32-36.12-27.11,0-15.09,13.17-25.26,31.04-25.26h33.2l-10.24,13.4h-23.72c-6.31,0-11.4,2.77-13.79,7.16ZM513.94,90.68c1.93,6.85,8.55,8.16,20.56,8.16,13.24,0,16.25-1.69,16.25-4.62,0-2.46-1.69-3.54-5.47-3.54h-31.35Z"/><path fill="white" d="M578.95,105.23c-4.78,0-7.7-3.31-7.7-6.93,0-2.16,1-4.39,3.31-6.31l37.2-30.19c2.54-2.08,5.39-2.77,7.24-2.77,4.62,0,8.78,2.77,8.78,9.63v23.95h14.71l-9.32,12.63h-5.39v6.16h-15.25v-6.16h-33.58ZM612.53,84.9c0-3.08.08-4.93.31-6.7-1.31,1.31-3.08,2.85-5.62,4.93l-5.7,4.54c-2.85,2.31-5.01,4.01-6.93,5.24,2.16-.23,5.01-.31,8.78-.31h9.16v-7.7Z"/></g><g><path fill="white" d="M57.22,82.67s0,.03,0,.03l-7.49,47.91-29.05-39.31,9.42-32.37c21.49-1.55,28.47,14.19,27.12,23.74Z"/><path fill="white" d="M138.78,0l-27.97,45.14s-12.4,2.84-16.59,3.41c-28.87,3.91-24.76-24.44-24.18-27.44-.87,3.27-9.62,33.13-43.77,38.23,1.28-.17,2.54-.32,3.73-.41L0,63.37l15.43-25.95,54.68-16.59L138.78,0Z"/></g></g></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642.49 130.62"><g><g><path fill="white" d="M183.45,59.87l-10.32,13.4h-18.41v38.12h-15.94v-38.12h-24.18l10.32-13.4h58.53Z"/><path fill="white" d="M255.23,88.9c0,15.56-10.71,23.34-32.12,23.34-24.8,0-35.5-7.78-35.5-23.34v-29.03h15.86v29.03c0,7.62,3.24,10.09,19.64,10.09,12.25,0,16.09-2.85,16.09-10.09v-29.03h16.02v29.03Z"/><path fill="white" d="M337.34,111.39h-21.33l-11.48-13.63h-24.49v13.63h-15.94v-26.34h44.83c4.93,0,8.78-2.23,8.78-5.78,0-4.01-3.31-6.01-8.78-6.01h-44.83l10.4-13.4h33.12c11.71,0,26.49,3.7,26.49,18.41,0,8.01-5,14.63-13.48,16.33,1.77,1.31,3.7,3.16,7.24,6.78l9.47,10.01Z"/><path fill="white" d="M409.27,96.37c0,8.55-4.7,15.02-20.95,15.02h-45.29v-31.35h45.59c2.31,0,4.47-.85,4.47-3.47s-2.23-3.31-4.47-3.31h-45.59l10.78-13.4h34.12c12.32,0,20.26,4.78,20.26,14.25,0,6.08-3.47,9.47-7.01,10.78,4.47,1.31,8.09,5.31,8.09,11.47ZM359.06,91.06v7.08h29.34c3.47,0,4.93-1.23,4.93-3.62,0-2.23-1.46-3.47-4.93-3.47h-29.34Z"/><path fill="white" d="M490.99,85.59c0,18.41-12.63,26.65-37.66,26.65s-37.66-8.24-37.66-26.65,12.55-26.57,37.66-26.57,37.66,8.16,37.66,26.57ZM475.12,85.59c0-11.09-5.78-13.17-21.8-13.17s-21.8,2.08-21.8,13.17,5.78,13.25,21.8,13.25,21.8-2.16,21.8-13.25Z"/><path fill="white" d="M513.94,80.43h32.58c11.71,0,19.25,4.93,19.25,14.25,0,14.17-15.48,17.56-32.19,17.56-23.72,0-36.12-8.32-36.12-27.11,0-15.09,13.17-25.26,31.04-25.26h33.2l-10.24,13.4h-23.72c-6.31,0-11.4,2.77-13.79,7.16ZM513.94,90.68c1.93,6.85,8.55,8.16,20.56,8.16,13.24,0,16.25-1.69,16.25-4.62,0-2.46-1.69-3.54-5.47-3.54h-31.35Z"/><path fill="white" d="M578.95,105.23c-4.78,0-7.7-3.31-7.7-6.93,0-2.16,1-4.39,3.31-6.31l37.2-30.19c2.54-2.08,5.39-2.77,7.24-2.77,4.62,0,8.78,2.77,8.78,9.63v23.95h14.71l-9.32,12.63h-5.39v6.16h-15.25v-6.16h-33.58ZM612.53,84.9c0-3.08.08-4.93.31-6.7-1.31,1.31-3.08,2.85-5.62,4.93l-5.7,4.54c-2.85,2.31-5.01,4.01-6.93,5.24,2.16-.23,5.01-.31,8.78-.31h9.16v-7.7Z"/></g><g><path fill="white" d="M57.22,82.67s0,.03,0,.03l-7.49,47.91-29.05-39.31,9.42-32.37c21.49-1.55,28.47,14.19,27.12,23.74Z"/><path fill="white" d="M138.78,0l-27.97,45.14s-12.4,2.84-16.59,3.41c-28.87,3.91-24.76-24.44-24.18-27.44-.87,3.27-9.62,33.13-43.77,38.23,1.28-.17,2.54-.32,3.73-.41L0,63.37l15.43-25.95,54.68-16.59L138.78,0Z"/></g></g></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
@keyframes logoShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 2fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand .logo-img { width: 44px; height: 44px; }
.footer-brand .logo-text { font-size: 1.4rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.5rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col a {
    display: block; color: var(--text-muted); font-size: 0.85rem;
    margin-bottom: 0.5rem; transition: var(--transition-fast);
}
.footer-col a:hover { color: var(--accent-gold); }
.footer-info {
    max-width: 1200px; margin: 0 auto;
    padding: 2.5rem 0;
    text-align: center; display: flex; flex-direction: column; gap: 0.35rem;
}
.footer-info p {
    color: var(--text-muted); font-size: 0.82rem;
    line-height: 1.8;
}
.footer-br { display: none; }
.footer-sep { display: inline; }
.footer-info a {
    color: var(--text-muted); text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    height: 1.8em;
}
.footer-info a:hover { color: var(--accent-gold); }
.police-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 1.8em;
}
.police-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.social-item {
    cursor: pointer;
    transition: transform 0.25s ease;
}
.social-item:hover .social-icon {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 10px rgba(240, 192, 96, 0.25));
}

/* ------ 社交账号弹框（全屏居中） ------ */
.social-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.social-overlay.active {
    opacity: 1;
    visibility: visible;
}
.social-modal {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem 1.75rem;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), var(--shadow-glow);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-overlay.active .social-modal {
    transform: scale(1);
}
.social-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}
.social-close:hover {
    color: var(--text-primary);
}
.social-modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}
.social-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.social-qr-img {
    width: 220px;
    height: 220px;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}
.social-account-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.social-account-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
}
.social-account-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.social-account-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}
.social-copy-btn {
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    background: transparent;
    border: 1px solid rgba(240, 192, 96, 0.4);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.social-copy-btn:hover {
    background: rgba(240, 192, 96, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}
.social-copy-btn.copied {
    background: rgba(76, 191, 108, 0.25);
    border-color: #4cbf6c;
    color: #4cbf6c;
}
.social-tip {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 769px) {
    .footer-info p {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }
}
.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding: 2.5rem 0 0;
    border-top: 1px solid var(--border-subtle); text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }

/* --- AOS animations --- */
[data-aos="fade-up"] {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-up"].aos-animate { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; gap: 2rem; text-align: center; }
    .hero-text { align-items: center; text-align: center; max-width: 600px; }
    .hero-logo { margin: 0 auto 1.5rem auto; }
    .hero-stats { justify-content: center; }
    .stat-item { align-items: center; }
    .hero-cta { justify-content: center; }
    .showcase-car.active { grid-template-columns: 1fr; gap: 1rem; }
    .showcase-info { text-align: center; }
    .car-specs { justify-content: center; }
    .community-grid { grid-template-columns: repeat(2, 1fr); }
    .community-card.card-large, .community-card.card-wide { grid-column: span 2; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { align-items: center; }
}

@media (max-width: 768px) {
    /* 移动端首页背景球优化 - 分散布局，减小尺寸 */
    .gradient-sphere {
        filter: blur(80px);
        opacity: 0.35;
    }
    .sphere-1 {
        width: 400px; height: 400px;
        top: -10%; right: -15%;
    }
    .sphere-2 {
        width: 300px; height: 300px;
        bottom: 20%; left: -10%;
    }
    .sphere-3 {
        width: 200px; height: 200px;
        top: 30%; left: 60%;
        opacity: 0.3;
    }
    /* 浅色模式移动端渐变球 */
    [data-theme="light"] .gradient-sphere {
        opacity: 0.15;
    }
    [data-theme="light"] .sphere-1 {
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 102, 204, 0.15));
    }
    [data-theme="light"] .sphere-2 {
        background: linear-gradient(135deg, rgba(119, 34, 204, 0.3), rgba(119, 34, 204, 0.15));
    }
    [data-theme="light"] .sphere-3 {
        background: linear-gradient(135deg, rgba(0, 153, 204, 0.3), rgba(0, 153, 204, 0.15));
        opacity: 0.25;
    }

    .navbar { padding: 0 1rem; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: rgba(10,10,26,0.97);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 2rem; transition: var(--transition-smooth);
    }
    [data-theme="light"] .nav-menu {
        background: rgba(240,244,248,0.97);
    }
    /* 移动端浅色模式菜单文字颜色 */
    [data-theme="light"] .nav-menu .nav-link {
        color: #1a2a3a;
    }
    [data-theme="light"] .nav-menu .nav-link:hover,
    [data-theme="light"] .nav-menu .nav-link.active {
        color: #0066cc;
    }
    /* 移动端浅色模式主题按钮 */
    [data-theme="light"] .nav-menu .theme-toggle {
        background: rgba(0, 102, 204, 0.08);
        border: 1px solid rgba(0, 102, 204, 0.2);
        color: #0066cc;
    }
    /* 移动端浅色模式底部文本颜色 */
    [data-theme="light"] .footer {
        background: #e8eef4;
    }
    [data-theme="light"] .footer-brand p,
    [data-theme="light"] .footer-col h4,
    [data-theme="light"] .footer-col a,
    [data-theme="light"] .footer-info {
        color: #1a2a3a;
    }
    [data-theme="light"] .footer-brand p,
    [data-theme="light"] .footer-col a,
    [data-theme="light"] .footer-info {
        color: #3a4a5a;
    }
    .nav-menu.active { right: 0; }
    /* 移动端主题切换按钮样式 - 集成到菜单里 */
    .nav-menu .theme-toggle {
        display: flex;
        margin-top: 1rem;
    }
    .hero { padding: 5rem 1rem 5rem; }
    .hero-logo { margin-bottom: 2rem; }
    .hero-badge { margin-bottom: 1rem; }
    .hero-title { margin-bottom: 1rem; }
    .hero-desc { margin-bottom: 1.25rem; }
    .hero-stats { gap: 1.5rem; margin-bottom: 1.5rem; }
    .stat-number { font-size: 1.6rem; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-tabs { gap: 0.5rem; }
    .tab-btn { padding: 0.55rem 1.2rem; font-size: 0.82rem; }
    .showcase-model { height: 280px; }
    .rotating-platform { transform: scale(0.8); }
    .community-grid { grid-template-columns: 1fr; }
    .community-card.card-large, .community-card.card-wide { grid-column: span 1; }
    .download-btn { min-width: 240px; padding: 1.25rem 2rem; }
    .footer-links { grid-template-columns: 1fr; text-align: center; }
    .qr-modal { padding: 2rem; }
    .scroll-indicator { bottom: 1.25rem; }
    .footer-br { display: block; }
    .footer-sep { display: none; }
    .photo-wall-item { border-radius: 22px; }
    /* 移动端隐藏品牌icon墙 */
    .brand-fall-container { display: none; }
    /* 移动端弹幕适配 */
    .barrage-item {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        border-radius: 14px;
    }
    /* 移动端页脚logo和社交媒体上下布局 */
    .footer-top-row {
        gap: 1rem;
        padding: 1rem 0;
    }
    /* 移动端社交弹框尺寸调整 */
    .social-modal {
        max-width: 320px;
        padding: 1.5rem 1.5rem 1.25rem;
    }
    .social-qr-img {
        width: 180px;
        height: 180px;
    }
    .social-modal-title {
        font-size: 1.2rem;
    }
    .social-copy-btn {
        padding: 0.4rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero { padding: 4.5rem 1rem 4.5rem; }
    .hero-logo { margin-bottom: 1.75rem; }
    .hero-title { font-size: 1.8rem; margin-bottom: 0.75rem; }
    .hero-desc { font-size: 0.85rem; margin-bottom: 1rem; }
    .hero-stats { margin-bottom: 1.25rem; }
    .hero-cta { gap: 0.75rem; }
    .hero-app-preview { display: none; }
    .scroll-indicator { margin-top: 2rem; }
    .download-buttons { flex-direction: column; align-items: center; }
    .download-btn { width: 100%; max-width: 320px; }
    .rotating-platform { transform: scale(0.65); }
    .showcase-model { height: 220px; }
    .photo-wall-item { border-radius: 20px; }
    .brand-fade-hint .hint-dots span { width: 3px; height: 3px; }
    /* 小屏进一步缩小logo和社交图标 */
    .footer-logo-svg svg { width: 200px; }
    .social-icon { width: 32px; height: 32px; }
    .footer-social { gap: 0.8rem; }
    /* 移动端隐藏logo文字 */
    .logo-text { display: none; }
}
