/* 基础设定 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-gradient: linear-gradient(135deg, #f0f7fa 0%, #e0f2f7 40%, #e6f4f1 100%);
    --mint: #3bd1b1;
    --coral: #ff8a70;
    --text-main: #2c3e50;
    --text-sub: #5d7687;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --prism-edge: linear-gradient(120deg, rgba(59, 209, 177, 0.4), rgba(255, 138, 112, 0.3));
    --radius-md: 20px;
    --radius-lg: 28px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 页面滚动动画基础 */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 三列瀑布流等布局容器 */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Header 区 */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-area { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: 0.5px; }
.logo-area img { height: 36px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--text-sub); }
.nav-links a:hover { color: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.search-box { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 99px; padding: 8px 16px; display: flex; align-items: center; width: 200px; }
.search-box input { background: transparent; border: none; outline: none; width: 100%; font-size: 14px; color: var(--text-main); }
.search-box input::placeholder { color: #a0b0bc; }
.dl-btn-group { position: relative; }
.btn-primary {
    background: linear-gradient(135deg, var(--mint), #2cb59a);
    color: #fff; padding: 10px 24px; border-radius: 99px; font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 209, 177, 0.3);
    transition: transform 0.2s;
    display: inline-block;
}
.btn-primary:active { transform: scale(0.96); }
/* 下载下拉面板 */
.dl-panel {
    position: absolute; top: 120%; right: 0; width: 320px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 20px; display: none; transform-origin: top right; flex-direction: column; gap: 12px;
}
.dl-panel.show { display: flex; animation: scaleIn 0.3s ease forwards; }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.dl-panel-btn { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f4f8fa; border-radius: 12px; font-weight: 600; transition: background 0.2s; }
.dl-panel-btn:hover { background: #e8f4f8; }
.dl-info { font-size: 12px; color: var(--text-sub); border-top: 1px dashed rgba(0,0,0,0.1); padding-top: 12px; margin-top: 4px; }
.dl-welfare { font-size: 12px; background: rgba(255, 138, 112, 0.1); color: var(--coral); padding: 6px 12px; border-radius: 8px; text-align: center; }

/* Hero 首屏区 */
.hero { position: relative; min-height: 100vh; padding-top: 100px; display: flex; align-items: center; overflow: hidden; }
.hero-bg-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(59, 209, 177, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 209, 177, 0.05) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero-text { z-index: 2; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 800; margin-bottom: 20px; color: var(--text-main); }
.hero-text h1 span { background: linear-gradient(120deg, var(--mint), var(--coral)); -webkit-background-clip: text; color: transparent; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-sub); margin-bottom: 30px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; }
.btn-outline { padding: 10px 24px; border-radius: 99px; border: 2px solid var(--mint); color: var(--mint); font-weight: 600; transition: background 0.2s; display: inline-block; }
.btn-outline:hover { background: rgba(59, 209, 177, 0.1); }
.hero-stats { display: flex; gap: 30px; margin-bottom: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--text-main); }
.stat-label { font-size: 0.85rem; color: var(--text-sub); }
.hero-tips { font-size: 0.8rem; color: #889da9; }
/* 棱镜光盒装置 */
.hero-visual { position: relative; height: 600px; display: flex; justify-content: center; align-items: center; }
.prism-box {
    position: relative; width: 320px; height: 600px; border-radius: 40px;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 30px 60px rgba(59, 209, 177, 0.15), inset 0 0 40px rgba(255, 255, 255, 0.8);
    padding: 12px; z-index: 2; display: flex; flex-direction: column;
}
.prism-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: #000; }
.prism-screen img { width: 100%; height: 100%; object-fit: cover; }
.prism-ui-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; }
.prism-ui-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.prism-ui-desc { font-size: 0.8rem; opacity: 0.8; }
/* 悬浮元素 */
.floating-el { position: absolute; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid #fff; border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); padding: 10px 16px; animation: float 6s ease-in-out infinite; }
.floating-el:nth-child(1) { top: 10%; right: -20px; animation-delay: 0s; }
.floating-el:nth-child(2) { bottom: 20%; left: -40px; animation-delay: 2s; }
.floating-el:nth-child(3) { top: 40%; left: -30px; animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.bubble { font-size: 0.8rem; color: var(--mint); font-weight: 600; }
/* 背景光斑 */
.light-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; }
.orb-1 { width: 400px; height: 400px; background: rgba(59, 209, 177, 0.15); top: -100px; right: 0; }
.orb-2 { width: 300px; height: 300px; background: rgba(255, 138, 112, 0.1); bottom: 0; left: -100px; }

/* 内容区块通用 */
section { padding: 80px 0; position: relative; }
.section-title { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-desc { text-align: center; color: var(--text-sub); margin-bottom: 50px; }

/* 瀑布流切片 */
.masonry-grid { display: flex; gap: 24px; align-items: flex-start; }
.masonry-col { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.filter-chip { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 99px; padding: 12px 20px; text-align: center; font-weight: 600; color: var(--text-sub); cursor: pointer; transition: all 0.3s ease; }
.filter-chip:hover, .filter-chip.active { background: #fff; color: var(--mint); box-shadow: 0 4px 15px rgba(59, 209, 177, 0.1); transform: translateY(-2px); }
.drama-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); display: block; transition: all 0.3s ease; }
.drama-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.drama-cover { position: relative; width: 100%; padding-top: 130%; }
.drama-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; color: var(--mint); backdrop-filter: blur(4px); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 50px; height: 50px; background: rgba(255,255,255,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; backdrop-filter: blur(4px); }
.play-btn::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent var(--text-main); margin-left: 4px; }
.drama-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.drama-info { padding: 16px; }
.drama-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.drama-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-sub); align-items: center; }
.heat-bar { width: 60px; height: 4px; background: #e0e8ed; border-radius: 2px; overflow: hidden; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--mint), var(--coral)); border-radius: 2px; }

/* 蜂巢六边形榜单 */
.honeycomb { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.hex-card { width: 180px; height: 200px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: var(--glass-bg); border: 1px solid var(--glass-border); position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 15px; text-align: center; transition: transform 0.3s ease; text-decoration: none; }
.hex-card:hover { transform: translateY(-8px); }
.hex-rank { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); font-size: 2rem; font-weight: 800; font-style: italic; opacity: 0.9; }
.rank-1 { color: #ffd700; text-shadow: 0 2px 10px rgba(255,215,0,0.4); }
.rank-2 { color: #c0c0c0; text-shadow: 0 2px 10px rgba(192,192,192,0.4); }
.rank-3 { color: #cd7f32; text-shadow: 0 2px 10px rgba(205,127,50,0.4); }
.hex-cover { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 2px solid rgba(255,255,255,0.8); }
.hex-title { font-size: 0.9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hex-heat { width: 60px; height: 4px; background: #e0e8ed; border-radius: 2px; margin: 8px auto 0; overflow: hidden; }
.hex-heat-fill { height: 100%; background: var(--coral); }

/* 错层悬浮窗自制区 */
.staggered-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; grid-auto-rows: 200px; }
.staggered-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); transition: all 0.4s ease; grid-row: span 2; }
.staggered-card:nth-child(1) { grid-row: span 1; grid-column: span 1; }
.staggered-card:nth-child(2) { grid-row: span 2; grid-column: span 1; margin-top: 30px; }
.staggered-card:nth-child(3) { grid-row: span 1; grid-column: span 2; }
.staggered-card:nth-child(4) { grid-row: span 1; grid-column: span 1; margin-top: -30px; }
.staggered-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(59, 209, 177, 0.15); z-index: 10; }
.stg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.stg-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.stg-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; color: #fff; z-index: 2; }
.stg-badge { font-size: 0.7rem; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; display: inline-block; backdrop-filter: blur(4px); }

/* 棱镜切片推荐区 */
.prism-recommend { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.prism-stack { position: relative; height: 300px; display: flex; justify-content: center; align-items: center; }
.prism-slice { position: absolute; width: 240px; height: 140px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; transition: all 0.4s ease; }
.prism-slice:nth-child(1) { transform: rotate(-5deg) translateY(-40px); z-index: 3; }
.prism-slice:nth-child(2) { transform: rotate(3deg) translateY(0); z-index: 2; opacity: 0.8; }
.prism-slice:nth-child(3) { transform: rotate(-2deg) translateY(40px); z-index: 1; opacity: 0.6; }
.prism-stack:hover .prism-slice:nth-child(1) { transform: rotate(-10deg) translateY(-60px) scale(1.05); }
.prism-stack:hover .prism-slice:nth-child(2) { transform: rotate(6deg) translateY(10px) scale(0.95); }
.prism-stack:hover .prism-slice:nth-child(3) { transform: rotate(-4deg) translateY(60px) scale(0.9); }
.match-score { font-size: 1.8rem; font-weight: 800; color: var(--coral); }
.recommend-reason { font-size: 0.85rem; color: var(--text-sub); margin-top: 10px; text-align: center; }

/* 悬浮晶片特色区 */
.chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.chip-card { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--radius-md); padding: 30px 20px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.chip-card:nth-child(1) { transform: rotate(-2deg); }
.chip-card:nth-child(2) { transform: rotate(1.5deg); }
.chip-card:nth-child(3) { transform: rotate(-1deg); }
.chip-card:nth-child(4) { transform: rotate(2deg); }
.chip-card:hover { transform: rotate(0) translateY(-10px); border-color: var(--mint); box-shadow: 0 15px 30px rgba(59, 209, 177, 0.1); }
.chip-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(59,209,177,0.2), rgba(255,138,112,0.2)); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.chip-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.chip-desc { font-size: 0.9rem; color: var(--text-sub); }

/* 棱镜塔会员区 */
.member-card { background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.5)); backdrop-filter: blur(20px); border: 1px solid #fff; border-radius: var(--radius-lg); padding: 40px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 20px 40px rgba(59, 209, 177, 0.1); }
.member-left { flex: 1; }
.member-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.member-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.member-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.benefit-item { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--text-sub); }
.benefit-icon { color: var(--mint); font-weight: bold; }
.price-tip { font-size: 0.85rem; color: var(--text-sub); margin-bottom: 8px; }
.btn-pill-coral { background: linear-gradient(90deg, var(--mint), var(--coral)); color: #fff; padding: 14px 40px; border-radius: 99px; font-size: 1.1rem; font-weight: 700; box-shadow: 0 8px 20px rgba(255, 138, 112, 0.3); transition: transform 0.2s; }
.btn-pill-coral:active { transform: scale(0.96); }

/* 全端胶囊卡片区 */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 99px; padding: 30px 20px; text-align: center; transition: all 0.3s ease; }
.platform-card:hover { transform: translateY(-8px); box-shadow: 0 15px 25px rgba(0,0,0,0.05); border-color: var(--mint); }
.platform-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.platform-desc { font-size: 0.85rem; color: var(--text-sub); }

/* 棱镜光盒下载区 */
.download-box { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(30px); border: 1px solid #fff; border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 30px 60px rgba(59, 209, 177, 0.15); position: relative; overflow: hidden; }
.download-box::before { content: ''; position: absolute; top: -50%; left: -20%; width: 60%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transform: rotate(30deg); pointer-events: none; }
.dl-text { flex: 1; z-index: 2; }
.dl-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.dl-text p { color: var(--text-sub); margin-bottom: 30px; font-size: 1.05rem; }
.store-btns { display: flex; gap: 16px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #2c3e50; color: #fff; padding: 12px 24px; border-radius: 12px; font-weight: 600; transition: background 0.2s; }
.store-btn:hover { background: #1a252f; }
.qr-area { width: 200px; background: #fff; padding: 16px; border-radius: var(--radius-md); box-shadow: 0 10px 20px rgba(0,0,0,0.05); text-align: center; z-index: 2; }
.qr-placeholder { width: 168px; height: 168px; background: #f0f4f7; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #a0b0bc; font-size: 0.85rem; margin-bottom: 12px; }
.qr-tip { font-size: 0.8rem; color: var(--text-sub); }

/* Footer */
footer { background: rgba(255, 255, 255, 0.4); border-top: 1px solid rgba(255,255,255,0.6); padding: 60px 0 20px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.footer-brand p { color: var(--text-sub); font-size: 0.9rem; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-sub); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: #889da9; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.footer-bottom time { display: inline-block; margin-top: 6px; }

/* 响应式 */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.8rem; }
    .hero-visual { height: 500px; }
    .prism-box { width: 280px; height: 500px; }
    .masonry-grid { flex-wrap: wrap; }
    .masonry-col { flex: 1 1 calc(50% - 12px); }
    .staggered-grid { grid-template-columns: repeat(2, 1fr); }
    .staggered-card:nth-child(3) { grid-column: span 1; }
    .chips-grid { grid-template-columns: repeat(2, 1fr); }
    .prism-recommend { grid-template-columns: 1fr; }
    .member-card { flex-direction: column; align-items: flex-start; gap: 30px; }
    .member-right { align-items: flex-start; width: 100%; }
    .btn-pill-coral { width: 100%; text-align: center; }
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
    .download-box { flex-direction: column; text-align: center; gap: 40px; }
    .store-btns { justify-content: center; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .nav-links, .search-box { display: none; }
    .hero { padding-top: 80px; height: auto; padding-bottom: 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .hero-stats { justify-content: center; }
    .hero-visual { height: auto; margin-top: 20px; }
    .prism-box { width: 100%; max-width: 300px; height: 480px; margin: 0 auto; }
    .floating-el { display: none; }
    .masonry-col { flex: 1 1 100%; }
    .honeycomb { gap: 10px; }
    .hex-card { width: 140px; height: 160px; }
    .hex-rank { font-size: 1.5rem; top: 20px; }
    .hex-cover { width: 50px; height: 50px; }
    .staggered-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .staggered-card { grid-row: auto !important; grid-column: auto !important; margin-top: 0 !important; height: 200px; }
    .chips-grid { grid-template-columns: 1fr; }
    .member-benefits { grid-template-columns: 1fr; }
    .platform-grid { grid-template-columns: 1fr; }
    .dl-panel { width: 280px; right: -20px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .store-btns { flex-direction: column; }
    .download-box { padding: 30px 20px; }
}