:root {
    --brand: #d94f7a;
    --brand-light: #fce8ef;
    --bg-main: #f7f8fa;
    --bg-card: #ffffff;
    --text-main: #1f2329;
    --text-sub: #5f6771;
    --border: #e3e5e9;
    --radius: 12px;
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 通用布局 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
h2 { font-size: 32px; font-weight: 800; margin-bottom: 40px; text-align: center; }
h3 { font-size: 20px; font-weight: 600; }
.text-center { text-align: center; }

/* 换台噪点转场 (纯CSS) */
.channel-transition {
    position: fixed; inset: 0; pointer-events: none; z-index: 9999;
    opacity: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(images/v-04.webp)"/></svg>');
    background-size: 200px;
    animation: signal-noise 0.8s infinite steps(4);
    mix-blend-mode: overlay;
    display: none;
}
@keyframes signal-noise {
    0% { background-position: 0 0; }
    25% { background-position: 100px 50px; }
    50% { background-position: 50px 100px; }
    75% { background-position: 150px 150px; }
    100% { background-position: 0 0; }
}
body.is-switching .channel-transition { display: block; opacity: 0.15; }

/* 频道号角标 */
.ch-badge {
    position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.6);
    color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px;
    font-family: monospace; z-index: 10;
}
section { position: relative; }

/* 顶部导航 */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: bold; }
.brand img { height: 32px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--text-sub); }
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.search-box {
    display: flex; align-items: center; background: var(--bg-main);
    border-radius: 20px; padding: 0 16px; height: 36px; width: 200px;
}
.search-box input {
    border: none; background: transparent; outline: none; width: 100%; font-size: 14px;
}
.btn-download {
    background: var(--brand); color: #fff; padding: 0 20px; height: 36px;
    display: flex; align-items: center; border-radius: 18px; font-weight: 600;
    transition: var(--transition);
}
.btn-download:hover { background: #c03e65; }

/* 画中画小窗 (右上角) */
.pip-bar {
    position: fixed; top: 80px; right: 20px; z-index: 99;
    display: flex; flex-direction: column; gap: 10px;
    transition: opacity 0.3s;
}
.pip-item {
    width: 80px; height: 45px; background: var(--bg-card); border-radius: 6px;
    box-shadow: var(--shadow); border: 2px solid transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--text-sub); cursor: pointer;
    transition: var(--transition); overflow: hidden;
}
.pip-item img { width: 100%; height: 100%; object-fit: cover; }
.pip-item:hover { border-color: var(--brand); transform: translateX(-4px); }

/* 首屏开机画面 */
.hero {
    padding: 60px 0 80px; display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
}
.hero-content h1 { font-size: 56px; font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.hero-content h1 span { color: var(--brand); }
.hero-hook { font-size: 18px; color: var(--text-sub); margin-bottom: 32px; }
.hero-stats { display: flex; gap: 30px; margin-bottom: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--brand); }
.stat-label { font-size: 14px; color: var(--text-sub); }
.hero-btns { display: flex; gap: 16px; }
.btn-android, .btn-ios {
    display: flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 32px; border-radius: 24px; font-weight: 600;
    font-size: 16px; transition: var(--transition);
}
.btn-android { background: var(--brand); color: #fff; }
.btn-ios { background: #1f2329; color: #fff; }
.btn-android:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-ios:hover { opacity: 0.9; transform: translateY(-2px); }

.tv-frame {
    background: #111; border-radius: 20px; padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); position: relative;
    animation: boot-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    border: 4px solid #333;
}
.tv-screen {
    background: #000; border-radius: 12px; overflow: hidden;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 8px; aspect-ratio: 16/9;
}
.tv-grid-item { border-radius: 4px; overflow: hidden; position: relative; }
.tv-grid-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.5s; }
.tv-grid-item:nth-child(even) img { animation: blink-random 4s infinite; }
@keyframes boot-up {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes blink-random {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* 热播推荐 横向大卡 */
.hot-section { background: var(--bg-card); transition: background 0.8s ease; }
.hot-carousel-wrapper { position: relative; overflow: hidden; padding: 20px 0; }
.hot-track { display: flex; gap: 20px; justify-content: center; align-items: center; }
.hot-card {
    width: 600px; flex-shrink: 0; background: var(--bg-main); border-radius: var(--radius);
    display: flex; overflow: hidden; box-shadow: var(--shadow);
    transform: scale(0.9); transition: transform 0.4s;
}
.hot-card.active { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.hot-card img { width: 200px; height: 280px; object-fit: cover; flex-shrink: 0; }
.hot-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.hot-info h3 { font-size: 24px; margin-bottom: 8px; }
.hot-type { font-size: 14px; color: var(--brand); margin-bottom: 16px; }
.hot-hook { font-size: 15px; color: var(--text-sub); margin-bottom: 24px; }
.hot-temp { font-size: 14px; color: #ff9800; font-weight: bold; }
.hot-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.hot-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
.hot-dot.active { background: var(--brand); width: 24px; border-radius: 4px; }

/* 更新排播 撕页台历 */
.schedule-section { background: var(--bg-main); }
.calendar-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.calendar-today {
    background: var(--bg-card); border-radius: var(--radius); padding: 30px;
    position: relative; box-shadow: var(--shadow); border-top: 4px solid var(--brand);
    text-align: center;
}
.tear-effect {
    position: absolute; top: -4px; right: -10px; width: 60px; height: 60px;
    background: var(--bg-main); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    transform: rotate(10deg); box-shadow: -2px 2px 4px rgba(0,0,0,0.1);
}
.calendar-today h3 { margin-bottom: 16px; color: var(--brand); }
.calendar-today img { width: 140px; margin: 0 auto 16px; border-radius: 8px; }
.calendar-today .updated-tag { background: var(--brand); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; display: inline-block; }
.weekly-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day-col { background: var(--bg-card); border-radius: 8px; padding: 16px 8px; text-align: center; box-shadow: var(--shadow); }
.day-col.today { border: 2px solid var(--brand); }
.day-col.future { opacity: 0.5; }
.day-title { font-size: 14px; font-weight: bold; margin-bottom: 12px; }
.day-col img { width: 100%; border-radius: 4px; margin-bottom: 8px; aspect-ratio: 3/4; }
.day-ep { font-size: 12px; color: var(--text-sub); }

/* 热度榜单 */
.rank-section { background: var(--bg-card); }
.rank-list { max-width: 900px; margin: 0 auto; }
.rank-item {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    border-bottom: 1px solid var(--border);
}
.rank-num { font-size: 24px; font-weight: 900; width: 40px; color: #ccc; text-align: center; }
.rank-item:nth-child(1) .rank-num { color: #ffd700; }
.rank-item:nth-child(2) .rank-num { color: #c0c0c0; }
.rank-item:nth-child(3) .rank-num { color: #cd7f32; }
.rank-item img { width: 60px; height: 80px; border-radius: 6px; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 18px; margin-bottom: 4px; }
.rank-meta { font-size: 13px; color: var(--text-sub); }
.energy-bar { width: 200px; height: 8px; background: var(--bg-main); border-radius: 4px; overflow: hidden; }
.energy-fill { height: 100%; background: linear-gradient(90deg, #ffb75e, #ed8f03); width: 0; transition: width 1.5s ease-out; }

/* 内容分类 百叶窗 */
.category-section { background: var(--bg-main); }
.accordion-item {
    margin-bottom: 12px; background: var(--bg-card); border-radius: 8px;
    overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s;
}
.acc-header {
    padding: 20px 24px; font-size: 20px; font-weight: bold;
    cursor: pointer; display: flex; justify-content: space-between;
}
.acc-content { padding: 0 24px 24px; display: flex; gap: 16px; overflow-x: auto; }
.acc-content img { width: 100px; border-radius: 4px; }
.acc-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 16px; width: 100%; }

/* 独播自制 */
.exclusive-section { background: #1a1a1a; color: #fff; text-align: center; overflow: hidden; }
.spotlight {
    background: radial-gradient(circle at top, rgba(217,79,122,0.4) 0%, transparent 60%);
    padding: 60px 20px; border-radius: var(--radius); margin-bottom: 40px;
}
.exclusive-card { display: inline-flex; gap: 32px; text-align: left; align-items: center; background: rgba(255,255,255,0.05); padding: 32px; border-radius: 16px; }
.exclusive-card img { width: 160px; border-radius: 8px; }
.exclusive-info h3 { font-size: 32px; margin-bottom: 16px; color: var(--brand); }
.exclusive-info p { font-size: 16px; color: #ccc; margin-bottom: 24px; max-width: 400px; }
.btn-book { background: var(--brand); color: #fff; padding: 10px 32px; border-radius: 24px; border: none; cursor: pointer; font-size: 16px; }
.filmstrip { display: flex; gap: 16px; justify-content: center; padding: 20px; border-top: 4px dashed #333; border-bottom: 4px dashed #333; }
.filmstrip img { width: 80px; border-radius: 4px; cursor: pointer; transition: transform 0.2s; }
.filmstrip img:hover { transform: scale(1.1); }

/* 会员权益 */
.vip-section { background: var(--bg-card); }
.vip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.vip-card { background: var(--bg-main); padding: 32px; border-radius: var(--radius); text-align: center; transition: var(--transition); border: 2px solid transparent; }
.vip-card:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(217,79,122,0.15); transform: translateY(-4px); }
.vip-card h3 { color: var(--brand); margin-bottom: 12px; font-size: 22px; }
.vip-compare { background: var(--bg-main); border-radius: var(--radius); padding: 24px; display: flex; justify-content: center; gap: 40px; }

/* 观看体验 遥控器 */
.experience-section { background: var(--bg-main); text-align: center; }
.remote-panel {
    display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    background: var(--bg-card); padding: 32px; border-radius: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.remote-btn {
    width: 80px; height: 80px; border-radius: 50%; background: var(--bg-main);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    font-weight: bold; cursor: pointer; transition: var(--transition); position: relative;
}
.remote-btn:hover { background: var(--brand-light); color: var(--brand); }
.tooltip {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    background: #333; color: #fff; padding: 6px 12px; border-radius: 4px;
    font-size: 12px; white-space: nowrap; opacity: 0; visibility: hidden; transition: var(--transition);
    margin-bottom: 8px;
}
.remote-btn:hover .tooltip { opacity: 1; visibility: visible; }

/* 用户评价 */
.review-section { background: var(--bg-card); }
.review-stats { display: flex; justify-content: center; gap: 60px; margin-bottom: 40px; }
.review-big-card {
    max-width: 800px; margin: 0 auto 40px; text-align: center;
    padding: 40px; background: var(--bg-main); border-radius: var(--radius);
}
.review-quote { font-size: 24px; font-weight: bold; margin-bottom: 24px; color: var(--text-main); }
.review-user { display: flex; align-items: center; justify-content: center; gap: 12px; }
.review-user img { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: #fff; }
.marquee { overflow: hidden; white-space: nowrap; padding: 20px 0; border-top: 1px solid var(--border); }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee:hover .marquee-content { animation-play-state: paused; }
.marquee-content span { margin: 0 20px; font-size: 14px; color: var(--text-sub); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 常见问题 */
.faq-section { background: var(--bg-main); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { background: var(--bg-card); padding: 24px; border-radius: var(--radius); }
.faq-q { font-weight: bold; margin-bottom: 12px; display: flex; gap: 8px; }
.faq-num { color: var(--brand); }
.faq-a { font-size: 14px; color: var(--text-sub); }

/* 下载安装区 */
.download-section { background: var(--bg-card); text-align: center; }
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.step-card { padding: 32px; background: var(--bg-main); border-radius: var(--radius); }
.step-icon { font-size: 40px; margin-bottom: 16px; }
.remote-download {
    display: inline-flex; gap: 24px; background: #222; padding: 32px; border-radius: 40px;
}
.btn-remote-android, .btn-remote-ios {
    padding: 24px 48px; border-radius: 16px; font-size: 20px; font-weight: bold;
    color: #fff; transition: var(--transition);
}
.btn-remote-android { background: var(--brand); }
.btn-remote-ios { background: #555; }
.btn-remote-android:hover, .btn-remote-ios:hover { filter: brightness(1.1); transform: scale(1.02); }

/* 页脚 */
.footer { background: #f0f2f5; padding: 60px 0 20px; color: var(--text-sub); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: bold; color: var(--text-main); margin-bottom: 16px; }
.footer-brand img { height: 24px; }
.footer-links h4 { color: var(--text-main); margin-bottom: 16px; font-size: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--brand); }
.copyright { text-align: center; border-top: 1px solid #ddd; padding-top: 20px; font-size: 12px; }
.copyright a { color: var(--text-sub); }
.copyright a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-stats, .hero-btns { justify-content: center; }
    .hot-card { width: 90%; flex-direction: column; }
    .hot-card img { width: 100%; height: auto; aspect-ratio: 3/4; }
    .calendar-grid { grid-template-columns: 1fr; }
    .weekly-list { grid-template-columns: repeat(4, 1fr); }
    .vip-cards, .step-cards { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pip-bar { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 36px; }
    .weekly-list { grid-template-columns: repeat(3, 1fr); }
    .remote-panel { grid-template-columns: repeat(2, 1fr); }
    .remote-download { flex-direction: column; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .channel-transition { animation: none; display: none !important; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}