/* ==========================================================================
   pursuitofjade.wiki — Global Design System
   A shared stylesheet for all page types: homepage, episodes, characters,
   cast, blog, tools, and subpages.
   ========================================================================== */

/* ----- 1. CSS Variables ----- */
:root {
  --jade: #2d8a6e;
  --jade-light: #e8f5f0;
  --jade-dark: #1a5c49;
  --gold: #c9a84c;
  --gold-light: #f5edda;
  --ink: #1a1a2e;
  --ink-light: #2d2d44;
  --snow: #faf9f7;
  --cream: #f4f1eb;
  --warm-gray: #8a8580;
  --border: #e5e0da;
  --shadow: rgba(26, 26, 46, 0.08);
  --love: #e57373;
  --ally: #64b5f6;
  --rival: #ff8a65;
  --family: #ab47bc;
  --political: #78909c;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
}

/* ----- 2. Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--snow);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ----- 3. Typography ----- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; }
.cn { font-family: 'Noto Serif SC', serif; }

/* ----- 4. Links ----- */
a { color: var(--jade); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--jade-dark); }

/* ----- 5. Layout ----- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 960px; }
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--snow); }
.section-dark h2, .section-dark h3 { color: var(--snow); }
.section-dark .warm-gray { color: #a09b96; }
.section-dark .section-label { color: var(--gold); }
.section-jade { background: linear-gradient(135deg, var(--jade-dark) 0%, var(--jade) 100%); color: white; }
.divider { height: 1px; background: var(--border); margin: 0; }

/* ----- 6. Grid ----- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ----- 7. Navigation ----- */
#site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
#site-nav .container, #site-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
#site-nav .nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; color: var(--ink);
}
#site-nav .nav-logo span,
#site-nav .nav-logo .jade { color: var(--jade); }
#site-nav .nav-links {
  display: flex; gap: 28px; font-size: 14px; font-weight: 500; list-style: none; align-items: center;
}
#site-nav .nav-links a { color: var(--ink-light); }
#site-nav .nav-links a:hover,
#site-nav .nav-links a.active { color: var(--jade); }
#site-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
#site-nav .lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
#site-nav .lang-switcher label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
#site-nav .lang-switcher select {
  min-width: 168px;
  max-width: 220px;
  padding: 8px 32px 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
}
#site-nav .lang-switcher select:focus {
  outline: none;
  border-color: var(--jade);
}
#site-nav .hamburger {
  display: none; background: none; border: none;
  cursor: pointer; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
#site-nav .hamburger span {
  display: block; width: 18px; height: 2px; border-radius: 999px;
  background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease;
}
#site-nav .hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#site-nav .hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#site-nav .hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 768px) {
  #site-nav .nav-links { display: none; }
  #site-nav .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--snow);
    padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(26, 26, 46, 0.08);
  }
  #site-nav .lang-switcher label {
    display: none;
  }
  #site-nav .lang-switcher select {
    min-width: 124px;
    max-width: 148px;
  }
  #site-nav .hamburger { display: flex; }
}

/* ----- 8. Hero Small (subpages) ----- */
.hero-sm { padding: 60px 0 40px; border-bottom: 1px solid var(--border); }
.hero-sm h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.hero-sm p { color: var(--warm-gray); font-size: 17px; max-width: 640px; }

/* ----- 9. Hero Large (homepage) ----- */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0f1923 0%, #1a2f3a 40%, #1e3d35 100%);
  overflow: hidden; color: white;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(45, 138, 110, 0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.15) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px; font-size: 13px; font-weight: 500; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px; background: #4ade80;
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 8px; line-height: 1.05; }
.hero h1 .cn { font-size: 0.6em; opacity: 0.7; display: block; margin-top: 4px; }
.hero-sub { font-size: 19px; opacity: 0.8; margin-bottom: 32px; line-height: 1.6; max-width: 560px; }
.hero-meta { display: flex; gap: 24px; margin-bottom: 36px; font-size: 14px; opacity: 0.7; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; right: 60px; bottom: 60px; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  padding: 20px 24px; text-align: center; min-width: 140px;
}
.hero-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: var(--gold); }
.hero-stat .label { font-size: 12px; opacity: 0.6; margin-top: 2px; }
@media (max-width: 900px) {
  .hero-stats { position: static; margin-top: 40px; }
  .hero { padding: 40px 0; }
}

/* ----- 10. Cards ----- */
.card {
  background: white; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--shadow); }

/* ----- 11. Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
  transition: all 0.2s; border: none; cursor: pointer;
  font-family: inherit; text-decoration: none;
}
.btn-jade { background: var(--jade); color: white; }
.btn-jade:hover { background: var(--jade-dark); color: white; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #b89540; color: var(--ink); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--jade); color: var(--jade); }

/* ----- 12. Tags ----- */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-jade { background: var(--jade-light); color: var(--jade-dark); }
.tag-gold { background: var(--gold-light); color: #8a6d1f; }
.tag-gray { background: #f0f0f0; color: #888; }
.tag-ink  { background: var(--ink); color: var(--snow); }

/* ----- 13. Section Labels ----- */
.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--jade); margin-bottom: 12px;
}

/* ----- 14. Section Titles ----- */
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-subtitle { color: var(--warm-gray); font-size: 17px; max-width: 640px; }

/* ----- 15. Breadcrumbs ----- */
.breadcrumb { font-size: 13px; color: var(--warm-gray); }
.breadcrumb a { color: var(--warm-gray); }
.breadcrumb a:hover { color: var(--jade); }

/* ----- 16. Episode Grid ----- */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.ep-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); cursor: pointer; transition: all 0.2s;
  text-decoration: none; color: var(--ink);
}
.ep-cell.aired { background: var(--jade-light); border-color: var(--jade); color: var(--jade-dark); }
.ep-cell.aired:hover { background: var(--jade); color: white; }
.ep-cell.today { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; }
.ep-cell.upcoming { background: var(--cream); color: var(--warm-gray); }
.ep-legend { display: flex; gap: 20px; margin-top: 20px; font-size: 13px; color: var(--warm-gray); }
.ep-legend span { display: flex; align-items: center; gap: 6px; }
.ep-legend .dot-aired { width: 12px; height: 12px; background: var(--jade-light); border: 1px solid var(--jade); border-radius: 3px; }
.ep-legend .dot-today { width: 12px; height: 12px; background: var(--gold); border-radius: 3px; }
.ep-legend .dot-upcoming { width: 12px; height: 12px; background: var(--cream); border: 1px solid var(--border); border-radius: 3px; }

/* ----- 17. Character Cards ----- */
.char-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.25s;
}
.char-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow); }
.char-img {
  height: 200px; background: linear-gradient(135deg, var(--jade-light), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--jade);
}
.char-body { padding: 24px; }
.char-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; }
.char-cn { font-family: 'Noto Serif SC', serif; font-size: 14px; color: var(--warm-gray); margin-bottom: 8px; }
.char-actor { font-size: 13px; color: var(--jade); font-weight: 600; margin-bottom: 10px; }
.char-desc { font-size: 14px; color: var(--warm-gray); line-height: 1.6; }
.char-expand {
  display: none; padding: 16px 24px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--ink-light); line-height: 1.7;
}
.char-card.open .char-expand { display: block; }

/* ----- 18. Platform Cards ----- */
.platform-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 2px solid var(--border); text-align: center; transition: all 0.2s;
  position: relative;
}
.platform-card:hover { border-color: var(--jade); box-shadow: 0 8px 24px var(--shadow); }
.platform-card.recommended { border-color: var(--jade); }
.platform-card.recommended::before {
  content: 'Best for Most Viewers'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--jade); color: white;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 12px; white-space: nowrap;
}
.platform-icon { font-size: 36px; margin-bottom: 12px; }
.platform-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.platform-detail { font-size: 14px; color: var(--warm-gray); margin-bottom: 16px; }

/* ----- 19. Blog / Article Styles ----- */
.article-content { max-width: 720px; margin: 0 auto; }
.article-content p { margin-bottom: 1.5em; font-size: 17px; line-height: 1.9; }
.article-content blockquote {
  border-left: 4px solid var(--jade); margin: 2em 0; padding: 16px 24px;
  background: var(--jade-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--ink-light);
}
.article-content h2 { margin: 2em 0 0.8em; }
.article-content h3 { margin: 1.5em 0 0.6em; }
.article-meta { font-size: 14px; color: var(--warm-gray); margin-bottom: 32px; }
.article-meta span { margin-right: 16px; }
.article-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tags .tag { margin-right: 8px; margin-bottom: 8px; }

/* ----- 20. Tool Page Styles ----- */
.tool-container { max-width: 720px; margin: 0 auto; }
.tool-input {
  width: 100%; padding: 14px 20px; font-size: 16px; font-family: inherit;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  background: white; color: var(--ink); transition: border-color 0.2s;
}
.tool-input:focus { outline: none; border-color: var(--jade); }
.tool-output {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-top: 16px; min-height: 120px;
}

/* ----- 21. Tables ----- */
.data-table {
  width: 100%; border-collapse: collapse; background: white;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
}
.data-table th {
  background: var(--ink); color: white; padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.data-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: var(--cream); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ----- 22. Spoiler ----- */
.spoiler {
  filter: blur(5px); transition: filter 0.3s; cursor: pointer; user-select: none;
}
.spoiler.revealed, .spoiler:hover { filter: none; }

/* ----- 23. Episode Recap Styles ----- */
.recap-section { margin-bottom: 40px; }
.recap-card {
  background: white; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); border-left: 4px solid var(--jade);
}
.recap-ep { font-size: 12px; font-weight: 700; color: var(--jade); text-transform: uppercase; letter-spacing: 0.1em; }
.recap-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; margin: 8px 0; }
.recap-preview { font-size: 14px; color: var(--warm-gray); line-height: 1.6; }
.quote-card {
  background: linear-gradient(135deg, var(--ink), var(--ink-light));
  border-radius: var(--radius); padding: 32px; color: white;
}
.quote-cn { font-family: 'Noto Serif SC', serif; font-size: 20px; margin-bottom: 12px; line-height: 1.6; }
.quote-en { font-style: italic; opacity: 0.7; font-size: 15px; margin-bottom: 16px; }
.quote-from { font-size: 12px; color: var(--gold); font-weight: 600; }
.key-moment {
  padding: 20px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start;
}
.key-moment:last-child { border-bottom: none; }
.key-moment .timestamp {
  font-family: 'Cormorant Garamond', serif; font-size: 20px;
  font-weight: 700; color: var(--jade); min-width: 60px; flex-shrink: 0;
}

/* ----- 24. Cast / Actor Styles ----- */
.actor-card {
  background: white; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); transition: all 0.2s;
}
.actor-card:hover { border-color: var(--jade); box-shadow: 0 8px 24px var(--shadow); }
.actor-card .actor-photo {
  width: 80px; height: 80px; border-radius: 50%; margin-bottom: 16px;
  background: var(--jade-light); display: flex; align-items: center;
  justify-content: center; font-size: 32px;
}
.actor-card .actor-name {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; margin-bottom: 4px;
}
.actor-card .actor-role { font-size: 13px; color: var(--jade); font-weight: 600; margin-bottom: 12px; }
.filmography-list { list-style: none; }
.filmography-list li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; display: flex; justify-content: space-between;
}
.filmography-list li:last-child { border-bottom: none; }
.filmography-list .year { color: var(--warm-gray); font-size: 13px; }

/* ----- 25. Footer ----- */
footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px; font-size: 13px;
}
footer h4 { color: white; font-size: 16px; margin-bottom: 16px; }
footer a { color: rgba(255, 255, 255, 0.6); }
footer a:hover { color: var(--jade-light); }
footer.footer--simple { padding: 32px 0; text-align: center; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px; margin-bottom: 40px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
  font-size: 13px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

#site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
}
#site-footer .footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
#site-footer .footer-grid {
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
#site-footer .footer-brand {
  display: grid;
  gap: 12px;
  max-width: 420px;
}
#site-footer .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
}
#site-footer .footer-logo span,
#site-footer .footer-logo .jade {
  color: var(--jade);
}
#site-footer .footer-copy,
#site-footer .disclaimer {
  font-size: 14px;
  line-height: 1.7;
}
#site-footer .disclaimer {
  color: rgba(255, 255, 255, 0.5);
}
#site-footer .footer-column h4 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#site-footer .footer-links {
  display: grid;
  gap: 10px;
}
#site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
#site-footer .footer-links a:hover {
  color: var(--jade-light);
}
#site-footer .footer-bottom {
  align-items: center;
}
#site-footer .back-to-top-link {
  color: var(--gold-light);
  font-weight: 600;
}
#site-footer .back-to-top-link:hover {
  color: white;
}
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 28px rgba(26, 26, 46, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 90;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--jade);
}
@media (max-width: 900px) {
  #site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  #site-footer .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 600px) {
  #site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ----- 26. Progress Bar ----- */
.progress-bar {
  height: 6px; background: rgba(255, 255, 255, 0.15);
  border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 3px; transition: width 0.5s;
  background: linear-gradient(90deg, var(--jade), var(--gold));
}
.progress-label { font-size: 13px; opacity: 0.6; margin-top: 6px; }

/* ----- 27. Airing Bar ----- */
.airing-bar { background: var(--ink); color: white; padding: 20px 0; }
.airing-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.airing-info { display: flex; align-items: center; gap: 16px; }
.airing-ep {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700;
}
.airing-progress { flex: 1; min-width: 200px; max-width: 400px; }

/* ----- 28. Utilities ----- */
.text-center { text-align: center; }
.text-jade  { color: var(--jade); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--warm-gray); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.hidden { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----- 29. Print Styles ----- */
@media print {
  nav, footer, .airing-bar, .hero-stats, .hero-badge, .btn, .hamburger { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  .hero { min-height: auto; background: none; color: black; padding: 20px 0; }
  .hero::before, .hero-pattern { display: none; }
  .section { padding: 24px 0; }
  .card, .char-card, .platform-card, .actor-card { box-shadow: none; border: 1px solid #ccc; }
  a { color: black; }
  .container { max-width: 100%; padding: 0; }
}

/* ----- 30. Responsive Consolidation ----- */
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 600px) {
  .section { padding: 40px 0; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .card { padding: 20px; }
  .quote-card { padding: 24px; }
  .quote-cn { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .airing-bar .container { flex-direction: column; align-items: flex-start; }
  .airing-progress { max-width: 100%; }
  .key-moment { flex-direction: column; gap: 8px; }
}

/* ----- Scroll Reveal Animation ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
