/* ==========================================================================
   HÀO KHÍ ĐÔNG A — A24 / Laika Tactile Cinema Showcase Stylesheet
   Isolated 100% from Studio App Hub (style.css).
   Palette: Lacquer Black (#070503) · Antique Bronze Gold (#d4a359) ·
            Vermilion Seal (#b91c1c) · Warm Bisque Ivory (#f5efe6)
   ========================================================================== */

:root {
  --hkda-bg: #070503;
  --hkda-bg-elev: #110d09;
  --hkda-surface: #17110b;
  --hkda-surface-soft: rgba(28, 20, 13, 0.86);
  --hkda-border: rgba(212, 163, 89, 0.24);
  --hkda-border-strong: rgba(212, 163, 89, 0.56);
  --hkda-gold: #d4a359;
  --hkda-gold-bright: #f3cf8a;
  --hkda-vermilion: #b91c1c;
  --hkda-vermilion-glow: #ef4444;
  --hkda-ivory: #f5efe6;
  --hkda-muted: #b5a998;
  --hkda-dim: #7c7163;
  --hkda-act-accent: #d4a359;
  --hkda-act-glow: rgba(212, 163, 89, 0.16);
  --font-display: "Cormorant Garamond", "Noto Serif", "Times New Roman", serif;
  --font-serif: "Noto Serif", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--hkda-bg);
  color: var(--hkda-ivory);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(185, 28, 28, 0.14) 0%, rgba(7, 5, 3, 0) 60%),
    radial-gradient(ellipse 80% 60% at 85% 42%, rgba(212, 163, 89, 0.08) 0%, rgba(7, 5, 3, 0) 70%),
    var(--hkda-bg);
  color: var(--hkda-ivory);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bilingual toggle lock */
html[data-lang="vi"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-vi { display: none !important; }

/* Subtle 35mm SVG film-grain overlay (zero GPU blur, pointer-events: none) */
.hkda-film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
}

.hkda-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Cinema Navigation Bar
   ========================================================================== */
.hkda-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(7, 5, 3, 0.94);
  border-bottom: 1px solid rgba(212, 163, 89, 0.2);
}

.hkda-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.72rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.hkda-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  overflow: hidden;
}

.hkda-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--hkda-vermilion);
  border: 1.5px solid var(--hkda-gold);
  color: #fef3c7;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 18px rgba(185, 28, 28, 0.45);
  flex-shrink: 0;
}

.hkda-brand-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hkda-ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hkda-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.hkda-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--hkda-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.hkda-nav a:hover {
  color: var(--hkda-gold-bright);
}

.hkda-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.hkda-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.78rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(212, 163, 89, 0.34);
  background: rgba(23, 17, 11, 0.9);
  color: var(--hkda-ivory);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hkda-top-btn:hover {
  border-color: var(--hkda-gold);
  color: var(--hkda-gold-bright);
}

.hkda-top-btn-cta {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  border-color: rgba(212, 163, 89, 0.7);
  color: #fef3c7;
}

.hkda-top-btn-cta:hover {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: var(--hkda-gold-bright);
}

/* ==========================================================================
   Section 1: Full-Bleed Theatrical Hero
   ========================================================================== */
.hkda-hero {
  position: relative;
  min-height: max(95vh, 780px);
  padding: 4.5rem 0 1.65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--hkda-border);
}

.hkda-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hkda-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  filter: contrast(1.06) saturate(1) brightness(0.92);
}

.hkda-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 82% 58% at 50% 34%, rgba(7, 5, 3, 0.02) 0%, rgba(7, 5, 3, 0.24) 72%, rgba(7, 5, 3, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 5, 3, 0.54) 0%, rgba(7, 5, 3, 0.04) 18%, rgba(7, 5, 3, 0.06) 54%, rgba(7, 5, 3, 0.76) 69%, rgba(7, 5, 3, 0.95) 84%, #070503 100%);
}

.hkda-hero-stage {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hkda-hero-art-spacer {
  flex: 1 1 auto;
  width: 100%;
  min-height: clamp(250px, 46vh, 520px);
  cursor: pointer;
}

.hkda-hero-play-btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  color: var(--hkda-ivory);
}

.hkda-hero-play-circle {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(28, 18, 10, 0.82) 0%, rgba(7, 5, 3, 0.94) 100%);
  border: 2px solid rgba(243, 207, 138, 0.92);
  box-shadow: 0 0 0 7px rgba(212, 163, 89, 0.14), 0 16px 38px rgba(7, 5, 3, 0.88), inset 0 0 20px rgba(212, 163, 89, 0.22);
  transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.hkda-hero-play-circle::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 207, 138, 0.52);
  animation: hkdaPlayPulse 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}

.hkda-hero-play-circle::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 163, 89, 0.42);
  pointer-events: none;
}

.hkda-hero-play-circle i {
  font-size: 1.62rem;
  color: #fef3c7;
  transform: translateX(3px);
  transition: transform 0.26s ease;
}

.hkda-hero-play-btn:hover .hkda-hero-play-circle,
.hkda-hero-play-btn:focus-visible .hkda-hero-play-circle {
  transform: scale(1.08);
  background: radial-gradient(circle, rgba(185, 28, 28, 0.92) 0%, rgba(127, 29, 29, 0.96) 100%);
  border-color: #fef3c7;
  box-shadow: 0 0 0 10px rgba(185, 28, 28, 0.25), 0 18px 46px rgba(185, 28, 28, 0.55);
}

.hkda-hero-play-btn:hover .hkda-hero-play-circle i {
  transform: translateX(3px) scale(1.06);
}

.hkda-hero-play-label {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.74rem;
  border-radius: 999px;
  background: rgba(10, 7, 4, 0.88);
  border: 1px solid rgba(212, 163, 89, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hkda-gold-bright);
  box-shadow: 0 6px 18px rgba(7, 5, 3, 0.75);
  white-space: nowrap;
  transition: border-color 0.24s ease, color 0.24s ease;
}

.hkda-hero-play-btn:hover .hkda-hero-play-label {
  border-color: #fef3c7;
  color: #fef3c7;
}

@keyframes hkdaPlayPulse {
  0% { transform: scale(0.96); opacity: 0.78; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.hkda-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hkda-hero-credit-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  padding: 0.28rem 0.82rem;
  border-radius: 999px;
  background: rgba(12, 8, 5, 0.86);
  border: 1px solid rgba(212, 163, 89, 0.42);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hkda-gold-bright);
  margin-bottom: 0.42rem;
}

.hkda-hero-seal-sm {
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.hkda-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.3vw, 4.35rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8eb 0%, #f3cf8a 58%, #b97d2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
}

.hkda-hero-subtitle {
  margin: 0.35rem 0 0.78rem;
  font-family: var(--font-serif);
  font-size: clamp(0.92rem, 1.65vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hkda-ivory);
}

.hkda-hero-cta-dock {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.35rem;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 0.8rem;
}

.hkda-dock-wing {
  min-width: 242px;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}

.hkda-dock-left {
  justify-self: end;
}

.hkda-dock-right {
  justify-self: start;
}

.hkda-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  padding: 0.88rem 1.55rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4a359 0%, #a16207 100%);
  color: #140d05;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  border: 1px solid #fde68a;
  box-shadow: 0 10px 28px rgba(212, 163, 89, 0.34);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hkda-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(212, 163, 89, 0.45);
}

.hkda-btn-vermilion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.45rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: #fef3c7;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid rgba(212, 163, 89, 0.65);
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hkda-btn-vermilion:hover {
  transform: translateY(-2px);
  border-color: var(--hkda-gold-bright);
  color: #ffffff;
}

.hkda-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.25rem;
  border-radius: 8px;
  background: rgba(17, 13, 9, 0.86);
  color: var(--hkda-ivory);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(212, 163, 89, 0.38);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hkda-btn-ghost:hover {
  border-color: var(--hkda-gold);
  color: var(--hkda-gold-bright);
}

.hkda-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 14, 9, 0.88);
  border: 1px solid rgba(212, 163, 89, 0.35);
  font-size: 0.84rem;
  color: #f3e8d4;
}

.hkda-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  flex-shrink: 0;
}

/* ==========================================================================
   Shared Editorial Section Headers
   ========================================================================== */
.hkda-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(212, 163, 89, 0.14);
  position: relative;
  scroll-margin-top: 72px;
}

.hkda-sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hkda-gold);
  margin-bottom: 0.6rem;
}

.hkda-sec-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--hkda-ivory);
}

.hkda-sec-desc {
  margin: 0;
  max-width: 720px;
  font-size: 0.98rem;
  color: var(--hkda-muted);
  line-height: 1.72;
}

/* ==========================================================================
   Section 2: Editorial Logline & Craft Plaque
   ========================================================================== */
.hkda-logline-section {
  background:
    radial-gradient(640px 380px at 50% 0%, rgba(212, 163, 89, 0.08) 0%, rgba(7, 5, 3, 0) 75%),
    #090705;
}

.hkda-quote-card {
  padding: 2.2rem clamp(1.25rem, 4vw, 3rem);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(24, 17, 11, 0.92) 0%, rgba(12, 9, 6, 0.96) 100%);
  border: 1px solid var(--hkda-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  text-align: center;
  margin-bottom: 2.2rem;
}

.hkda-epigraph {
  margin: 0 auto 1.15rem;
  max-width: 820px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.62rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--hkda-gold-bright);
}

.hkda-epigraph-cite {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hkda-muted);
  margin-bottom: 1.35rem;
}

.hkda-synopsis {
  margin: 0 auto;
  max-width: 780px;
  font-size: 0.98rem;
  color: #e2d7c7;
  line-height: 1.78;
}

.hkda-craft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hkda-craft-item {
  padding: 1.25rem 1.15rem;
  border-radius: 12px;
  background: var(--hkda-bg-elev);
  border: 1px solid rgba(212, 163, 89, 0.2);
}

.hkda-craft-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--hkda-gold-bright);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hkda-craft-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--hkda-ivory);
  margin-bottom: 0.2rem;
}

.hkda-craft-note {
  font-size: 0.78rem;
  color: var(--hkda-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 3: Interactive Triptych — 3 Tactile Mediums
   ========================================================================== */
.hkda-triptych-section {
  transition: background 0.45s ease;
  background:
    radial-gradient(760px 440px at 78% 35%, var(--hkda-act-glow) 0%, rgba(7, 5, 3, 0) 72%),
    var(--hkda-bg);
}

.hkda-triptych-section[data-active-act="1"] {
  --hkda-act-accent: #d4a359;
  --hkda-act-glow: rgba(212, 163, 89, 0.16);
}

.hkda-triptych-section[data-active-act="2"] {
  --hkda-act-accent: #ea580c;
  --hkda-act-glow: rgba(234, 88, 12, 0.2);
}

.hkda-triptych-section[data-active-act="3"] {
  --hkda-act-accent: #10b981;
  --hkda-act-glow: rgba(16, 185, 129, 0.14);
}

.hkda-act-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 1.65rem;
}

.hkda-act-tab {
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: var(--hkda-bg-elev);
  border: 1px solid rgba(212, 163, 89, 0.22);
  color: var(--hkda-ivory);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.hkda-act-tab:hover {
  border-color: rgba(212, 163, 89, 0.6);
  transform: translateY(-2px);
}

.hkda-act-tab.active {
  background: linear-gradient(160deg, rgba(38, 25, 14, 0.95) 0%, rgba(17, 12, 8, 0.98) 100%);
  border-color: var(--hkda-act-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.hkda-act-tab-era {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hkda-act-accent);
  margin-bottom: 0.25rem;
}

.hkda-act-tab-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.2;
}

.hkda-act-tab-med {
  font-size: 0.78rem;
  color: var(--hkda-muted);
  margin-top: 0.28rem;
}

.hkda-act-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--hkda-surface);
  border: 1px solid rgba(212, 163, 89, 0.28);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65);
}

.hkda-act-panel {
  display: none;
}

.hkda-act-panel.active {
  display: contents;
}

.hkda-act-media-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.hkda-still-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 89, 0.4);
  background: #050403;
  cursor: pointer;
}

.hkda-still-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hkda-still-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(7, 5, 3, 0.85);
  border: 1px solid rgba(212, 163, 89, 0.5);
  color: var(--hkda-gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
}

.hkda-subthumb-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hkda-subthumb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 163, 89, 0.35);
  background: rgba(7, 5, 3, 0.78);
  color: var(--hkda-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.hkda-subthumb-btn.active {
  border-color: var(--hkda-act-accent);
  color: var(--hkda-ivory);
  background: rgba(212, 163, 89, 0.14);
}

.hkda-act-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.hkda-act-badge {
  align-self: flex-start;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hkda-act-accent);
  color: var(--hkda-gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hkda-act-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--hkda-ivory);
  line-height: 1.15;
}

.hkda-act-quote {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 2.5px solid var(--hkda-act-accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--hkda-gold-bright);
}

.hkda-act-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(212, 163, 89, 0.16);
  font-size: 0.85rem;
  color: #dfd4c3;
}

.hkda-act-meta strong {
  color: var(--hkda-gold);
}

/* ==========================================================================
   Section 4: Prologue Spotlight & 4-Milestone Roadmap
   ========================================================================== */
.hkda-roadmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  align-items: start;
  margin-top: 2rem;
}

.hkda-prologue-card {
  padding: 1.35rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #1b140d 0%, #0d0906 100%);
  border: 1px solid rgba(212, 163, 89, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}

.hkda-prologue-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 89, 0.45);
  background: #080604;
  margin-bottom: 1.1rem;
  cursor: pointer;
}

.hkda-prologue-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hkda-prologue-poster-wrap.is-landscape {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.hkda-prologue-poster-wrap.is-landscape img {
  object-position: center center;
}

.hkda-milestone-rail {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.hkda-milestone-card {
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: var(--hkda-bg-elev);
  border: 1px solid rgba(212, 163, 89, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.hkda-milestone-card.is-live {
  border-color: rgba(52, 211, 153, 0.48);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, #110d09 100%);
}

.hkda-milestone-card.is-next {
  border-color: rgba(212, 163, 89, 0.62);
  background: linear-gradient(135deg, rgba(212, 163, 89, 0.14) 0%, #140e09 100%);
}

.hkda-milestone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hkda-milestone-step {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hkda-gold);
}

.hkda-milestone-status {
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(212, 163, 89, 0.18);
  border: 1px solid rgba(212, 163, 89, 0.45);
  color: var(--hkda-gold-bright);
  white-space: nowrap;
}

.hkda-milestone-status.live {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.hkda-milestone-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hkda-ivory);
}

.hkda-milestone-body {
  margin: 0;
  font-size: 0.87rem;
  color: var(--hkda-muted);
  line-height: 1.62;
}

/* ==========================================================================
   Section 5: Interactive "Khán Phòng Đợi Giờ Khai Chiếu" + Ticket Canvas
   ========================================================================== */
.hkda-hall-section {
  background:
    radial-gradient(820px 520px at 20% 25%, rgba(185, 28, 28, 0.12) 0%, rgba(7, 5, 3, 0) 70%),
    radial-gradient(720px 460px at 82% 75%, rgba(212, 163, 89, 0.12) 0%, rgba(7, 5, 3, 0) 72%),
    #080604;
}

.hkda-hall-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}

.hkda-hall-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--hkda-bg-elev);
  border: 1px solid var(--hkda-border);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.58);
}

.hkda-hype-box {
  padding: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(185, 28, 28, 0.16) 0%, rgba(23, 17, 11, 0.95) 100%);
  border: 1px solid rgba(212, 163, 89, 0.45);
  margin-bottom: 1.4rem;
}

.hkda-hype-stats-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.hkda-live-counter-chip {
  font-size: 0.76rem;
  color: #fde68a;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.32);
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-weight: 700;
}

.hkda-hype-number {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--hkda-gold-bright);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.hkda-hype-btn {
  width: 100%;
  padding: 0.92rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #fbbf24;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #fef3c7;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 10px 26px rgba(185, 28, 28, 0.42);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.hkda-hype-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.hkda-hype-btn.is-hyped {
  background: linear-gradient(135deg, #2d1b0e 0%, #1c1209 100%);
  border-color: var(--hkda-gold);
  color: var(--hkda-gold-bright);
}

.hkda-hype-status {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--hkda-muted);
  text-align: center;
}

/* Poll */
.hkda-poll-title {
  margin: 0 0 0.75rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--hkda-ivory);
}

.hkda-poll-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hkda-poll-option {
  position: relative;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 163, 89, 0.25);
  background: rgba(10, 8, 5, 0.9);
  color: var(--hkda-ivory);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.hkda-poll-option:hover {
  border-color: rgba(212, 163, 89, 0.65);
}

.hkda-poll-option.selected {
  border-color: var(--hkda-gold-bright);
}

.hkda-poll-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(212, 163, 89, 0.24) 0%, rgba(185, 28, 28, 0.22) 100%);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hkda-poll-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.hkda-poll-pct {
  font-variant-numeric: tabular-nums;
  color: var(--hkda-gold-bright);
  font-weight: 800;
  flex-shrink: 0;
}

/* Ticket Canvas + Form */
.hkda-ticket-canvas-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 89, 0.45);
  background: #060403;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.75);
  margin-bottom: 1.15rem;
}

#hkdaTicketCanvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  display: block;
}

.hkda-ticket-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hkda-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hkda-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hkda-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hkda-gold);
  letter-spacing: 0.04em;
}

.hkda-input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 163, 89, 0.32);
  background: #090705;
  color: var(--hkda-ivory);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.hkda-input:focus {
  border-color: var(--hkda-gold-bright);
}

.hkda-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.hkda-ticket-stamped-banner {
  display: none;
  padding: 0.78rem 1rem;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: #a7f3d0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.hkda-ticket-stamped-banner.visible {
  display: block;
}

/* ==========================================================================
   Footer — Authentic Theatrical Poster Billing Block
   ========================================================================== */
.hkda-footer {
  padding: 3.4rem 0 2.8rem;
  background: #050403;
  text-align: center;
}

.hkda-billing-block {
  max-width: 820px;
  margin: 0 auto 1.65rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--hkda-muted);
}

.hkda-billing-block strong {
  color: var(--hkda-gold-bright);
  font-weight: 800;
}

.hkda-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.35rem;
  font-size: 0.84rem;
  color: var(--hkda-gold);
  margin-bottom: 1rem;
}

.hkda-footer-links a:hover {
  color: var(--hkda-ivory);
  text-decoration: underline;
}

.hkda-copyright {
  font-size: 0.76rem;
  color: var(--hkda-dim);
}

/* ==========================================================================
   Modals (Cinema Lightbox & Artwork Inspector) + Custom Toast
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 2, 1, 0.96);
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.hkda-modal-dialog {
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #0d0906;
  border: 1px solid rgba(212, 163, 89, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.88);
  padding: 1.25rem;
}

#hkdaScreeningModal .hkda-modal-dialog {
  max-width: 1120px;
  background: #070503;
}

.hkda-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 163, 89, 0.22);
}

.hkda-modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--hkda-gold-bright);
}

.hkda-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(212, 163, 89, 0.4);
  background: #17110b;
  color: var(--hkda-ivory);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.hkda-reel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.hkda-reel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hkda-reel-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 163, 89, 0.34);
  background: #16100a;
  color: var(--hkda-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hkda-reel-tab:hover {
  border-color: var(--hkda-gold);
  color: var(--hkda-ivory);
}

.hkda-reel-tab.active {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.92), rgba(127, 29, 29, 0.96));
  border-color: var(--hkda-gold-bright);
  color: #fef3c7;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.36);
}

.hkda-reel-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 163, 89, 0.42);
  background: #140d07;
  color: var(--hkda-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hkda-reel-yt-link:hover {
  border-color: var(--hkda-gold-bright);
  color: #ffffff;
}

.hkda-player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(212, 163, 89, 0.38);
}

.hkda-player-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hkda-curtain-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1.25rem;
  text-align: center;
}

.hkda-curtain-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.06);
}

.hkda-curtain-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, rgba(185, 28, 28, 0.16) 0%, rgba(7, 5, 3, 0.88) 80%),
    linear-gradient(180deg, rgba(7, 5, 3, 0.55) 0%, rgba(7, 5, 3, 0.92) 100%);
}

.hkda-curtain-body {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hkda-curtain-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(185, 28, 28, 0.88);
  border: 1px solid rgba(243, 207, 138, 0.72);
  color: #fef3c7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hkda-curtain-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--hkda-gold-bright);
  line-height: 1.15;
}

.hkda-curtain-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  background: rgba(12, 8, 5, 0.92);
  border: 1px solid rgba(212, 163, 89, 0.52);
  font-family: Consolas, Monaco, monospace;
  font-size: clamp(0.84rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: #fde68a;
}

.hkda-curtain-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--hkda-ivory);
  line-height: 1.55;
  max-width: 560px;
}

.hkda-curtain-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.hkda-curtain-actions .hkda-btn-primary,
.hkda-curtain-actions .hkda-btn-ghost {
  padding: 0.58rem 1rem;
  font-size: 0.82rem;
  text-decoration: none;
}

@media (max-width: 600px) {
  .hkda-curtain-stage {
    padding: 0.75rem;
    align-items: flex-start;
  }
  .hkda-curtain-desc {
    font-size: 0.78rem;
  }
}

.hkda-chapters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.hkda-chapter-pill {
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 163, 89, 0.32);
  background: #16100a;
  color: var(--hkda-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.hkda-chapter-pill.active,
.hkda-chapter-pill:hover {
  border-color: var(--hkda-gold-bright);
  color: var(--hkda-gold-bright);
}

.hkda-lightbox-img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #050403;
}

.hkda-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  z-index: 400;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  background: #1a120a;
  border: 1px solid var(--hkda-gold);
  color: var(--hkda-gold-bright);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: 92vw;
  text-align: center;
}

.hkda-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Desktop-only subtle backdrop-filter (strict Mobile GPU memory safety guard)
   ========================================================================== */
@media (min-width: 769px) {
  .hkda-topbar {
    background: rgba(7, 5, 3, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hkda-hero-play-circle {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile 375px)
   ========================================================================== */
@media (max-width: 980px) {
  .hkda-nav {
    display: none;
  }
  .hkda-craft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hkda-act-tabs {
    grid-template-columns: 1fr;
  }
  .hkda-act-stage {
    grid-template-columns: 1fr;
  }
  .hkda-roadmap-grid,
  .hkda-hall-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hkda-hero-cta-dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.68rem;
  }
  .hkda-hero-play-btn {
    order: -1;
    margin-bottom: 0.15rem;
  }
  .hkda-dock-wing {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hkda-topbar-inner {
    padding: 0.54rem 0.65rem;
    gap: 0.38rem;
  }
  .hkda-brand {
    gap: 0.38rem;
  }
  .hkda-seal {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }
  .hkda-brand-title {
    font-size: 0.78rem;
    letter-spacing: 0.015em;
  }
  .hkda-topbar-actions {
    gap: 0.3rem;
  }
  .hkda-top-btn {
    padding: 0.32rem 0.48rem;
    font-size: 0.71rem;
    gap: 0.25rem;
  }
  #hkdaLangToggle i {
    display: none;
  }
  .hkda-top-btn .hide-xs {
    display: none;
  }
  .hkda-hero {
    min-height: 90vh;
    padding: 4.4rem 0 1.8rem;
  }
  .hkda-hero-art-spacer {
    min-height: clamp(210px, 36vh, 320px);
  }
  .hkda-hero-play-circle {
    width: 72px;
    height: 72px;
  }
  .hkda-hero-play-circle i {
    font-size: 1.45rem;
  }
  .hkda-hero-credit-row {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.65rem;
  }
  .hkda-hero-title {
    font-size: clamp(1.75rem, 7.4vw, 2.3rem);
  }
  .hkda-hero-subtitle {
    font-size: clamp(0.76rem, 3.3vw, 0.92rem);
    letter-spacing: 0.08em;
  }
  .hkda-section {
    padding: 3rem 0;
  }
  .hkda-craft-grid,
  .hkda-form-row {
    grid-template-columns: 1fr;
  }
  .hkda-btn-primary,
  .hkda-btn-vermilion,
  .hkda-btn-ghost {
    width: 100%;
  }
  .hkda-hall-card {
    padding: 1.15rem;
  }
}
