/* ============================================
   Huangguo Guide - 全局样式
   ============================================ */

/* --- 基础变量 --- */
:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --accent: #fd79a8;
    --accent-dark: #e84393;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --bg-section: #12121f;
    --bg-section-alt: #16162a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c8;
    --text-muted: #6c6c8a;
    --border: #2a2a45;
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a3e 50%, #2d1b69 100%);
    --gradient-btn: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-accent: linear-gradient(135deg, #fd79a8, #6c5ce7);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 40px rgba(108,92,231,0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

/* --- 重置 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 按钮 --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108,92,231,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108,92,231,0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(253,121,168,0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(253,121,168,0.5);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15,15,26,0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-btn);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-btn);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   Hero 首屏
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108,92,231,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253,121,168,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108,92,231,0.2);
    border: 1px solid rgba(108,92,231,0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.hero-poster {
    width: 360px;
    height: 480px;
    background: linear-gradient(180deg, #2d1b69 0%, #1a1a2e 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero-poster-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.hero-poster-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-poster-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-poster-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-poster-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108,92,231,0.3), transparent 70%);
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: rgba(26,26,46,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

.floating-card-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-btn);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ============================================
   快速入口 - "What are you looking for?"
   ============================================ */
.quick-links {
    padding: 80px 0;
    background: var(--bg-section);
}

.section-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-btn);
    opacity: 0;
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.quick-card:hover::before {
    opacity: 1;
}

.quick-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(108,92,231,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.quick-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.quick-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quick-card:hover .quick-card-link {
    color: #fff;
}

/* ============================================
   热门剧集
   ============================================ */
.popular {
    padding: 80px 0;
    background: var(--bg-section-alt);
}

.popular-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.popular-header .section-title {
    text-align: left;
}

.popular-header .section-label {
    text-align: left;
}

.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.drama-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.drama-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.drama-card-poster {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.drama-card-poster-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.drama-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(108,92,231,0.85);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.drama-card-info {
    padding: 16px;
}

.drama-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drama-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.drama-card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.drama-card-genre {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 3px 8px;
    background: rgba(108,92,231,0.15);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--primary-light);
}

.drama-card-btn {
    width: 100%;
    padding: 10px;
    background: rgba(108,92,231,0.15);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.drama-card-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ============================================
   新剧更新
   ============================================ */
.new-releases {
    padding: 80px 0;
    background: var(--bg-section);
}

.release-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.release-tab {
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition);
}

.release-tab.active,
.release-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.release-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.release-card {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.release-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.release-card-poster {
    width: 80px;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.release-card-poster-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.release-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.release-new-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    width: fit-content;
    letter-spacing: 1px;
}

.release-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.release-card-ep {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.release-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.release-card-link {
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: 6px;
}

/* ============================================
   App 模块
   ============================================ */
.app-section {
    padding: 80px 0;
    background: var(--bg-section-alt);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-text .section-label {
    text-align: left;
}

.app-text .section-title {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.app-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.app-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    color: var(--text-primary);
    text-decoration: none;
}

.app-btn:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.app-btn-icon {
    font-size: 1.5rem;
}

.app-btn-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.app-btn-text strong {
    font-size: 0.95rem;
}

.app-visual {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
}

.phone-mockup:nth-child(2) {
    margin-top: 40px;
}

.phone-mockup:nth-child(3) {
    margin-top: 20px;
}

.phone-notch {
    width: 100px;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
}

.phone-screen {
    padding: 16px;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-screen-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.phone-screen-item {
    padding: 8px 10px;
    background: rgba(108,92,231,0.1);
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.phone-screen-card {
    background: rgba(108,92,231,0.15);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.phone-screen-card .icon {
    font-size: 2rem;
}

.phone-screen-card .label {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   移动端展示
   ============================================ */
.mobile-showcase {
    padding: 80px 0;
    background: var(--bg-section);
}

.mobile-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mobile-phones {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.mobile-phone {
    width: 160px;
    height: 320px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.mobile-phone:nth-child(2) {
    margin-top: 30px;
}

.mobile-phone:nth-child(3) {
    margin-top: 15px;
}

.mobile-phone-notch {
    width: 80px;
    height: 16px;
    background: var(--bg-dark);
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
}

.mobile-phone-screen {
    padding: 12px;
    height: calc(100% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-phone-screen .icon {
    font-size: 2.5rem;
}

.mobile-phone-screen .title {
    font-size: 0.8rem;
    font-weight: 700;
}

.mobile-phone-screen .desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
}

.mobile-features h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mobile-features > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.mobile-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.mobile-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(108,92,231,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-brand {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================
   子页面通用
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Drama Library 页面
   ============================================ */
.drama-library {
    padding: 60px 0 80px;
    background: var(--bg-section);
}

.library-search {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.library-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.library-search input::placeholder {
    color: var(--text-muted);
}

.library-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.2);
}

.library-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-muted);
}

.library-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================
   Drama 详情页
   ============================================ */
.drama-detail {
    padding: 40px 0 80px;
    background: var(--bg-section);
}

.drama-detail-top {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.drama-detail-poster {
    width: 100%;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.drama-detail-poster-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    gap: 12px;
}

.drama-detail-poster-bg .poster-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.drama-detail-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.drama-detail-info .detail-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.drama-detail-info .detail-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.drama-detail-info .detail-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-spec {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.detail-spec label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.detail-spec span {
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 详情区块 */
.detail-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.detail-block h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-block h2 .icon {
    font-size: 1.1rem;
}

/* 剧集列表 */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.episode-item {
    padding: 10px 14px;
    background: rgba(108,92,231,0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.episode-item:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* 角色 */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.character-card {
    text-align: center;
    padding: 16px;
    background: rgba(108,92,231,0.05);
    border-radius: var(--radius-sm);
}

.character-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-btn);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.character-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.character-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question .arrow {
    transition: var(--transition);
    font-size: 0.8rem;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* ============================================
   App Guide 页面
   ============================================ */
.app-guide {
    padding: 60px 0 80px;
    background: var(--bg-section);
}

.app-guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 48px;
}

.guide-toc h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-toc ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-toc ul li a {
    font-size: 0.9rem;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-toc ul li a:hover {
    color: #fff;
}

.guide-toc ul li a .num {
    width: 24px;
    height: 24px;
    background: rgba(108,92,231,0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.guide-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.guide-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h2 .icon {
    font-size: 1.2rem;
}

.guide-section p,
.guide-section li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.guide-section ul {
    padding-left: 20px;
    list-style: disc;
}

.guide-section ul li {
    margin-bottom: 8px;
}

.guide-info-box {
    background: rgba(108,92,231,0.1);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.guide-info-box strong {
    color: var(--primary-light);
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   App 下载板块（通用 CTA）
   ============================================ */
.app-download {
    padding: 64px 0;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253,121,168,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.app-download::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108,92,231,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.app-download .container {
    position: relative;
    z-index: 1;
}

.app-download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.app-download-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.app-download-text h2 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-download-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 480px;
}

.app-download-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.app-download-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-dl-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    color: var(--text-primary);
    text-decoration: none;
    min-width: 170px;
}

.app-dl-btn:hover {
    background: rgba(108,92,231,0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108,92,231,0.3);
}

.app-dl-btn .dl-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.app-dl-btn .dl-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
}

.app-dl-btn .dl-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.app-download-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .app-content { grid-template-columns: 1fr; }
    .app-text .section-label,
    .app-text .section-title { text-align: center; }
    .app-text p { text-align: center; }
    .app-buttons { justify-content: center; }
    .app-visual { margin-top: 40px; }
    .mobile-showcase-content { grid-template-columns: 1fr; }
    .mobile-features { text-align: center; }
    .mobile-features h3 { text-align: center; }
    .mobile-feature-list { align-items: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .drama-detail-top { grid-template-columns: 1fr; }
    .drama-detail-poster { max-width: 300px; margin: 0 auto; }
    .app-download-inner { flex-direction: column; text-align: center; }
    .app-download-text p { margin: 0 auto; }
    .app-download-actions { align-items: center; }
    .app-download-note { text-align: center; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15,15,26,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .hero-poster { width: 280px; height: 380px; }
    .quick-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.6rem; }
    .drama-grid { grid-template-columns: repeat(2, 1fr); }
    .release-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .detail-specs { grid-template-columns: 1fr; }
    .phone-mockup { width: 150px; height: 300px; }
    .mobile-phone { width: 120px; height: 240px; }
    .floating-card { display: none; }
    .app-text .section-title { font-size: 1.6rem; }
    .page-header h1 { font-size: 1.8rem; }
    .app-download-text h2 { font-size: 1.4rem; }
    .app-dl-btn { min-width: 150px; padding: 12px 18px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .drama-grid { grid-template-columns: 1fr; }
    .release-tabs { flex-wrap: wrap; }
    .app-buttons { flex-direction: column; align-items: center; }
    .mobile-phones { gap: 8px; }
    .mobile-phone { width: 100px; height: 200px; }
    .app-download-btns { flex-direction: column; width: 100%; }
    .app-dl-btn { width: 100%; justify-content: center; }
}
