/* ========== 全局 ========== */
:root {
    --primary: #ff4757;
    --primary-dark: #ee5a24;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a2e;
    --bg-section: #0f0f1a;
    --text: #e0e0e0;
    --text-muted: #888;
    --text-light: #bbb;
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ========== 全站星星背景 ========== */
.stars-container { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stars-layer { position: absolute; inset: 0; }
.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: starTwinkle ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(255,255,255,0.5);
}
#stars1 .star { background: rgba(255,255,255,0.8); }
#stars2 .star { background: rgba(255,220,220,0.6); }
#stars3 .star { background: rgba(255,255,220,0.4); }
@keyframes starTwinkle {
    0% { opacity: 0.15; transform: scale(0.8); }
    30% { opacity: 0.9; transform: scale(1.4); }
    60% { opacity: 0.2; transform: scale(0.6); }
    100% { opacity: 0.7; transform: scale(1.2); }
}

/* ========== 导航栏 ========== */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 40px;
}
#header.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 14px; color: #aaa; transition: color 0.2s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-download-btn {
    padding: 8px 24px; border-radius: 24px; border: none;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-download-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(255,71,87,0.4); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ========== Hero 首屏 ========== */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 100px 40px 60px;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1040 30%, #0d1b3e 60%, #0a0a0a 100%);
}
.hero-gradient {
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,71,87,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-particles .particle {
    position: absolute; width: 6px; height: 6px;
    background: rgba(255,107,107,0.3); border-radius: 50%;
    animation: floatUp 4s ease-in-out infinite;
}
@keyframes floatUp {
    0%,100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 1100px; width: 100%;
    display: flex; align-items: center; gap: 60px;
}
.hero-text { flex: 1; }
.hero-title {
    font-size: 52px; font-weight: 900; line-height: 1.2;
    color: #fff; margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle { font-size: 17px; color: #999; line-height: 1.8; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; }
.btn-primary-lg {
    padding: 14px 32px; border-radius: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff; font-size: 16px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,71,87,0.4); }
.btn-outline-lg {
    padding: 14px 32px; border-radius: 30px;
    border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
    font-size: 16px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s;
}
.btn-outline-lg:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.hero-stats { display: flex; gap: 48px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: #888; margin-top: 4px; }

/* Hero 手机模型 */
.hero-phone { flex-shrink: 0; }
.phone-frame {
    width: 260px; height: 520px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 32px; border: 3px solid #333;
    padding: 16px 8px; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.phone-notch {
    width: 80px; height: 6px; background: #444;
    border-radius: 3px; margin: 0 auto 12px;
}
.phone-screen {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #1a1040, #0d1b3e);
    border-radius: 20px; display: flex;
    align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.phone-video-preview {
    position: relative; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,107,107,0.2), rgba(59,130,246,0.2));
    display: flex; align-items: center; justify-content: center;
}
.play-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,71,87,0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(255,71,87,0); }
}

/* ========== 通用区块 ========== */
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light h2 { color: #fff; }
.section-header.light .section-desc { color: #999; }
.section-badge {
    display: inline-block; padding: 6px 20px; border-radius: 20px;
    background: rgba(255,71,87,0.15); color: #ff6b6b;
    font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.light-badge { background: rgba(255,255,255,0.1); color: #ff6b6b; }
.section-header h2 { font-size: 36px; font-weight: 800; color: #fff; }
.section-header .highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc { color: #888; font-size: 16px; margin-top: 12px; }

/* ========== 特色功能 ========== */
.features-section {
    padding: 100px 40px; background: var(--bg-section);
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 32px 24px; text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,71,87,0.3);
}
.feature-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 26px; color: #fff;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #888; line-height: 1.7; }

/* ========== 热门短剧 ========== */
.shows-section { padding: 100px 40px; background: var(--bg-dark); }
.shows-scroll {
    display: flex; gap: 20px; overflow-x: auto;
    padding-bottom: 12px; scroll-snap-type: x mandatory;
}
.shows-scroll::-webkit-scrollbar { height: 4px; }
.shows-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.show-card {
    flex-shrink: 0; width: 220px; scroll-snap-align: start;
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg-card); transition: transform 0.3s;
    cursor: pointer;
}
.show-card:hover { transform: translateY(-8px); }
.show-cover {
    height: 280px; position: relative;
    display: flex; align-items: flex-start;
    padding: 12px; gap: 6px;
}
.show-tag {
    padding: 3px 10px; border-radius: 10px;
    background: rgba(0,0,0,0.6); color: #fff;
    font-size: 11px; font-weight: 600;
}
.show-tag-new {
    padding: 3px 10px; border-radius: 10px;
    background: rgba(255,71,87,0.8); color: #fff;
    font-size: 11px; font-weight: 600;
}
.show-hot {
    margin-left: auto; font-size: 12px;
}
.show-info { padding: 14px; }
.show-info h4 { font-size: 15px; color: #fff; margin-bottom: 4px; }
.show-info p { font-size: 12px; color: #888; }

.cover-1 { background: linear-gradient(180deg, #ff6b6b, #2d1b69); }
.cover-2 { background: linear-gradient(180deg, #fdcb6e, #1e3799); }
.cover-3 { background: linear-gradient(180deg, #fd79a8, #6c5ce7); }
.cover-4 { background: linear-gradient(180deg, #00b894, #0c2461); }
.cover-5 { background: linear-gradient(180deg, #74b9ff, #1a1040); }

/* ========== 数据亮点 ========== */
.stats-section {
    padding: 100px 40px; position: relative; overflow: hidden;
}
.stats-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a1040, #0d1b3e, #0a0a0a);
}
.stats-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stats-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius); padding: 36px 24px;
    text-align: center; backdrop-filter: blur(10px);
    transition: transform 0.3s;
}
.stats-card:hover { transform: translateY(-4px); }
.stats-icon { font-size: 32px; color: #ff6b6b; margin-bottom: 16px; }
.stats-value { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.stats-label { font-size: 14px; color: #888; }

/* ========== 用户评价 ========== */
.reviews-section { padding: 100px 40px; background: var(--bg-section); }
.reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius); padding: 28px;
    transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-4px); }
.review-stars { font-size: 16px; margin-bottom: 16px; }
.review-text {
    font-size: 15px; color: var(--text-light); line-height: 1.8;
    margin-bottom: 20px; font-style: italic;
}
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.av2 { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.av3 { background: linear-gradient(135deg, #00b894, #55efc4); }
.review-user strong { display: block; font-size: 14px; color: #fff; }
.review-user span { font-size: 12px; color: #888; }

/* ========== 下载区域 ========== */
.download-section {
    padding: 100px 40px; position: relative;
    background: linear-gradient(135deg, #0a0a0a, #1a1040, #0d1b3e);
}
.download-content {
    display: flex; align-items: center; justify-content: center;
    gap: 60px;
}
.download-qr { text-align: center; }
.qr-box {
    width: 180px; height: 180px; border-radius: 20px;
    background: #fff; display: flex; align-items: center;
    justify-content: center; margin-bottom: 12px;
}
.qr-placeholder { font-size: 80px; color: #333; }
.download-qr p { color: #999; font-size: 13px; }
.download-buttons { display: flex; flex-direction: column; gap: 16px; }
.download-btn {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 32px; border-radius: 14px;
    transition: transform 0.3s;
}
.download-btn:hover { transform: translateX(6px); }
.download-btn i { font-size: 32px; }
.download-btn span { display: flex; flex-direction: column; }
.download-btn small { font-size: 12px; opacity: 0.8; }
.android-btn {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}
.ios-btn {
    background: #fff; color: #0a0a0a;
}

/* ========== 页脚 ========== */
.site-footer {
    background: #060610; border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 40px 30px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; gap: 60px;
}
.footer-brand h3 {
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p { color: #888; font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; color: #888; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #ff6b6b; }
.footer-bottom {
    max-width: 1200px; margin: 40px auto 0;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-bottom p { color: #666; font-size: 13px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    .hero-phone { order: -1; }
    .phone-frame { width: 200px; height: 400px; }
    .hero-title { font-size: 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .download-content { flex-direction: column; }
}

@media (max-width: 768px) {
    #header { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(10,10,10,0.98); padding: 24px;
        gap: 20px; border-top: 1px solid rgba(255,255,255,0.05);
    }
    .nav-download-btn { display: none; }
    .menu-toggle { display: block; }
    .hero-section { padding: 120px 16px 60px; }
    .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 22px; }
    .features-section, .shows-section, .stats-section, .reviews-section, .download-section {
        padding: 60px 16px;
    }
    .features-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 26px; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { gap: 32px; }
}
