:root {
  --bg-dark: #120e0c;
  --bg-light: #f4f0e6;
  --ink-light: #f7f2e8;
  --ink-dark: #1a1512;
  --red: #c2372b;
  --gold: #c8a96b;
  --line: rgba(200, 169, 107, 0.3);
  --font-serif: "Songti SC", "SimSun", "STSong", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-dark); color: var(--ink-light); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
header { position: fixed; top: 0; width: 100%; height: 64px; background: rgba(18,14,12,0.9); backdrop-filter: blur(8px); z-index: 100; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; }
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; }
.logo-text { font-family: var(--font-serif); font-size: 1.2rem; font-weight: bold; color: var(--gold); letter-spacing: 2px; }
nav { display: none; }
@media(min-width: 1024px) {
  nav { display: flex; gap: 24px; font-size: 0.9rem; color: #aaa; }
  nav a:hover { color: var(--gold); }
}
.btn-download { background: var(--red); color: #fff; padding: 0 24px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-weight: bold; font-size: 1rem; letter-spacing: 1px; transition: transform 0.2s; cursor: pointer; }
.btn-download:hover { transform: scale(1.05); }
@media(max-width: 768px) {
  header { padding: 0 15px; }
  .logo-text { display: none; }
}

/* Main */
main { padding-top: 64px; }
section { padding: 80px 5%; position: relative; }
@media(max-width: 768px) { section { padding: 50px 15px; } }

h1, h2, h3 { font-family: var(--font-serif); font-weight: normal; }
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; margin-bottom: 20px; color: var(--gold); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 30px; color: var(--gold); display: flex; align-items: center; gap: 15px; }
h2::before { content: ""; display: block; width: 4px; height: 1em; background: var(--red); }

/* Hero */
.hero { display: flex; flex-direction: column; gap: 40px; min-height: 80vh; }
@media(min-width: 1024px) { .hero { flex-direction: row; align-items: center; } }
.hero-content { flex: 1; }
.hero-sub { font-size: 1.1rem; color: #ccc; margin-bottom: 30px; line-height: 1.8; }
.hero-btns { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.btn-main { background: var(--red); color: #fff; height: 54px; padding: 0 30px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 1.2rem; font-weight: bold; }
.btn-sub { border: 1px solid var(--gold); color: var(--gold); height: 54px; padding: 0 20px; border-radius: 4px; display: inline-flex; align-items: center; font-size: 1rem; }
.hero-stats { display: flex; gap: 20px; font-size: 0.85rem; color: #888; flex-wrap: wrap; }

/* Cover Deck & Rank */
.hero-visual { flex: 2; display: flex; gap: 20px; height: 500px; position: relative; }
@media(max-width: 1023px) { .hero-visual { height: 400px; } }
.main-stage { flex: 1.5; position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.main-stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.9)); padding: 20px; }
.stage-info h3 { font-size: 1.5rem; margin-bottom: 5px; }
.stage-info p { font-size: 0.9rem; color: var(--gold); }
.rank-list { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.rank-item { display: flex; gap: 10px; align-items: center; background: #1c1714; padding: 8px; border-radius: 6px; border: 1px solid transparent; transition: border-color 0.2s; }
.rank-item:hover { border-color: var(--gold); }
.rank-item img { width: 45px; height: 60px; object-fit: cover; border-radius: 4px; }
.rank-num { font-size: 1.2rem; font-family: var(--font-serif); color: var(--red); font-weight: bold; width: 20px; text-align: center; }
.rank-text { flex: 1; }
.rank-text h4 { font-size: 0.9rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; }
.rank-text span { font-size: 0.75rem; color: #888; }

/* Cover Base */
.cover-card { aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; position: relative; border: 1px solid var(--line); transition: transform 0.3s; }
.cover-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cover-card:hover img { transform: scale(1.05); }
.card-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.card-info h4 { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { display: inline-block; font-size: 0.7rem; border: 1px solid rgba(255,255,255,0.5); padding: 1px 4px; border-radius: 2px; margin-top: 4px; }

/* Flipping Cards (Drama Genre) */
.genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
@media(min-width: 768px) { .genre-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.flip-card { perspective: 1000px; cursor: pointer; aspect-ratio: 3/4; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.flip-back { background: #1c1714; transform: rotateY(180deg); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.flip-back h4 { color: var(--gold); font-size: 1.2rem; margin-bottom: 10px; }
.flip-back p { font-size: 0.85rem; color: #ccc; line-height: 1.5; }

/* Light Section */
.light-section { background: var(--bg-light); color: var(--ink-dark); }
.light-section h2 { color: var(--ink-dark); }
.light-section h2::before { background: var(--ink-dark); }
.light-section .cover-card { border-color: #ddd; }
.light-section .card-info { background: linear-gradient(transparent, rgba(255,255,255,0.9)); color: #000; }

/* Specs */
.specs-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.specs-table td { border-bottom: 1px solid var(--line); padding: 20px 10px; vertical-align: middle; }
.specs-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-num { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold); font-weight: bold; width: 120px; }
.spec-desc { font-size: 1rem; color: #ccc; }

/* Schedule */
.schedule-list { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.schedule-item { display: flex; align-items: center; gap: 15px; background: #1c1714; padding: 15px; border-radius: 6px; border-left: 4px solid transparent; }
.schedule-item.today { border-left-color: var(--red); background: rgba(194,55,43,0.1); }
.schedule-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 4px; }
.schedule-info { flex: 1; }
.schedule-info h4 { font-size: 1rem; margin-bottom: 4px; }
.schedule-info p { font-size: 0.85rem; color: #888; }
.status { font-size: 0.8rem; padding: 4px 8px; border-radius: 4px; background: #333; }
.today .status { background: var(--red); color: #fff; }

/* Testimonials */
.review-wall { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.review-item { background: #1c1714; padding: 20px; border-radius: 6px; font-size: 0.95rem; border-left: 3px solid var(--gold); }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 30px; height: 30px; background: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #fff; }

/* FAQ */
.faq-list { margin-top: 30px; max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq-q { font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: bold; }
.faq-a { font-size: 0.9rem; color: #aaa; margin-top: 10px; display: none; line-height: 1.6; }
.faq-item.active .faq-a { display: block; }

/* Footer */
footer { background: #0a0807; padding: 60px 5% 30px; border-top: 1px solid #222; font-size: 0.85rem; color: #666; }
.footer-content { display: flex; flex-direction: column; gap: 30px; margin-bottom: 30px; }
@media(min-width: 768px) { .footer-content { flex-direction: row; justify-content: space-between; } }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #222; font-size: 0.8rem; line-height: 2; }

/* Utilities */
.text-gold { color: var(--gold); }
.mb-20 { margin-bottom: 20px; }
.img-placeholder { background: #222; display: flex; align-items: center; justify-content: center; color: #555; font-size: 0.8rem; }