:root {
  /* Light Premiere — cinematic without black */
  --bg1: #F7F4EF;
  --bg2: #F7F4EF;
  --bg3: #EEEAE3;
  --panel: #FFFFFF;
  --surface: #EEEAE3;
  --gold: #C4922A;
  --gold2: #A67B1F;
  --gold-bright: #D4A84A;
  --cream: #1A1C22; /* ink text (legacy name kept for existing rules) */
  --text: #1A1C22;
  --muted: #6B6560;
  --glass: rgba(255, 255, 255, 0.92);
  --glass2: #FFFFFF;
  --nav-glass: rgba(247, 244, 239, 0.94);
  --nav-input: #FFFFFF;
  --border: rgba(26, 28, 34, 0.10);
  --border-strong: rgba(196, 146, 42, 0.45);
  --red: #C41E3A;
  --ticket: #C41E3A;
  --green: #1A8A5C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a0f0a;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

html {
  overflow-x: hidden;
}
body {
  font-family: "Outfit", "Noto Sans Tamil", system-ui, sans-serif;
  background: var(--bg1);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1000;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.glow-1 { width: 420px; height: 420px; background: rgba(196, 146, 42, 0.12); top: -120px; right: -80px; }
.glow-2 { width: 360px; height: 360px; background: rgba(196, 30, 58, 0.06); bottom: -40px; left: -60px; }

/* ─── CINEMATIC GLOSSY HERO ─── */
.cinematic-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: none;
}

.hero-backdrop-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.08);
  filter: blur(10px) saturate(1.2) contrast(1.05);
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-backdrop.active {
  opacity: 1;
  animation: heroKen 18s ease-in-out infinite alternate;
}
.cinematic-hero.hero-locked .hero-backdrop.active {
  filter: blur(4px) saturate(1.25) contrast(1.08);
}
.cinematic-hero.hero-locked .hero-vignette {
  opacity: 0.75;
}
@keyframes heroKen {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, transparent 0%, rgba(26, 10, 18, 0.85) 70%),
    linear-gradient(90deg, rgba(26, 10, 18, 0.95) 0%, rgba(26, 10, 18, 0.4) 45%, rgba(26, 10, 18, 0.2) 100%),
    linear-gradient(0deg, #050505 0%, transparent 35%),
    linear-gradient(180deg, rgba(26, 10, 18, 0.7) 0%, transparent 40%);
  z-index: 1;
}

.hero-gloss {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 28%,
    transparent 60%,
    rgba(240, 193, 75, 0.06) 100%
  );
  pointer-events: none;
  animation: glossSweep 6s ease-in-out infinite;
}
@keyframes glossSweep {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-spotlight {
  position: absolute;
  top: -20%;
  left: 15%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(240, 193, 75, 0.12) 0%, transparent 65%);
  z-index: 2;
  pointer-events: none;
  animation: spotPulse 4s ease-in-out infinite;
}
@keyframes spotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-lens {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 150,0.15) 0%, transparent 70%);
  filter: blur(2px);
  z-index: 2;
  pointer-events: none;
}

.hero-nav,
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-nav,
.hero-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 18px;
  padding: 12px clamp(16px, 3vw, 36px);
  background: var(--nav-glass);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 24px rgba(26, 28, 34, 0.06);
}
.site-nav::before,
.hero-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240, 193, 75, 0.2) 15%,
    rgba(255, 215, 106, 0.95) 50%,
    rgba(240, 193, 75, 0.2) 85%,
    transparent 100%
  );
  pointer-events: none;
}
.site-nav::after,
.hero-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% -40%, rgba(240, 193, 75, 0.08), transparent 55%);
  pointer-events: none;
}

.nav-brand { position: relative; z-index: 1; min-width: 0; }
.nav-center {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.nav-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.nav-action-btn.reviews {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  box-shadow: 0 4px 16px rgba(240, 193, 75, 0.35);
}
.nav-action-btn.upcoming {
  background: #1A1C22;
  color: #F7F4EF;
  box-shadow: 0 4px 14px rgba(26, 28, 34, 0.2);
}
.nav-action-btn.tickets {
  background: var(--ticket);
  color: #fff;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.25);
}
.nav-action-btn:hover { filter: brightness(1.06); }

.nav-tools {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-auth-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nav-auth-btn.ghost {
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text);
}
.nav-auth-btn.ghost:hover {
  border-color: var(--gold);
  background: var(--surface);
}
.nav-auth-btn.primary {
  border: 1px solid rgba(255, 215, 106, 0.4);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  box-shadow: 0 4px 14px rgba(240, 193, 75, 0.3);
}
.nav-auth-btn.primary:hover {
  filter: brightness(1.06);
}

.unified-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 4px 6px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.42)),
    var(--nav-input);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.unified-search-bar:focus-within,
.unified-search-bar.chat-open {
  border-color: var(--gold-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 3px rgba(240, 193, 75, 0.18),
    0 8px 28px rgba(0, 0, 0, 0.4);
}

.nav-right {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 106, 0.45);
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.28), rgba(212, 160, 23, 0.18));
  color: #faf3e8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 12px rgba(240, 193, 75, 0.2);
  flex-shrink: 0;
}
.chat-toggle:hover {
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.42), rgba(212, 160, 23, 0.28));
  border-color: var(--gold-bright);
}
.chat-toggle-icon {
  font-size: 13px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 6px rgba(240, 193, 75, 0.8));
}

#cinema-chat-input {
  flex: 1;
  min-width: 0;
  padding: 10px 6px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #1A1C22;
  caret-color: #1A1C22;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}
#cinema-chat-input::placeholder { color: #6B6560; }
#cinema-chat-input:focus { border: none; box-shadow: none; }

#cinema-chat-send {
  padding: 9px 16px;
  border: 1px solid rgba(255, 215, 106, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  box-shadow: 0 4px 14px rgba(240, 193, 75, 0.35);
  flex-shrink: 0;
}
#cinema-chat-send:disabled { opacity: 0.5; cursor: wait; }

.cinema-chat-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: auto;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 16px;
  border: 1px solid rgba(240, 193, 75, 0.3);
  background: rgba(12, 6, 10, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: max-height 0.3s ease, opacity 0.25s ease;
  z-index: 100;
}
.cinema-chat-panel.open {
  max-height: 360px;
  opacity: 1;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(240, 193, 75, 0.2);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}
.chat-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.chat-messages {
  padding: 12px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 92%;
  word-break: break-word;
}
.chat-bubble.user {
  align-self: flex-end;
  background: rgba(240, 193, 75, 0.18);
  color: var(--cream);
  border: 1px solid rgba(240, 193, 75, 0.25);
}
.chat-bubble.assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}
.chat-bubble.typing { opacity: 0.7; font-style: italic; }
.chat-movie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  max-width: 92%;
  margin: -2px 0 8px;
  padding: 0 2px;
}
.chat-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Outfit", "Noto Sans Tamil", sans-serif;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.chat-act.review {
  background: linear-gradient(180deg, #ffe08a, var(--gold));
  color: #1a0f0a;
}
.chat-act.book {
  background: #b91c1c;
  color: #fff;
}
.chat-act-hint {
  font-size: 11px;
  color: var(--muted);
  width: 100%;
}

.lang-toggle {
  display: flex;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lang-btn {
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover { color: var(--text); }

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(240, 193, 75, 0.35);
}

.loading-msg {
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.hero-layout {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px 88px;
  width: 100%;
}

.hero-stage {
  position: relative;
  flex: 1;
  max-width: 720px;
  padding: 0;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 7.5vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #ffe08a 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
  letter-spacing: -0.5px;
}

.hero-tamil {
  font-size: clamp(20px, 2.8vw, 28px);
  color: rgba(255, 245, 235, 0.88);
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 16px;
  font-weight: 400;
  color: #d9c9b8;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 520px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-rating {
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 3px;
  text-shadow: 0 0 16px rgba(240, 193, 75, 0.5);
}

.hero-date {
  font-size: 14px;
  color: #f5ebe0;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(240, 193, 75, 0.28);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-gloss {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-gloss::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

.btn-gloss.primary {
  color: #050505;
  background: linear-gradient(135deg, #ffe9a8 0%, var(--gold) 50%, #c9941a 100%);
  box-shadow: 0 8px 32px rgba(240, 193, 75, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gloss.secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-gloss:hover { transform: translateY(-2px) scale(1.02); }
.btn-gloss.primary:hover { box-shadow: 0 12px 40px rgba(240, 193, 75, 0.55); }

.hero-filmstrip {
  position: absolute;
  bottom: 12px;
  left: 40px;
  right: 40px;
  height: 56px;
  z-index: 12;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.hero-filmstrip::-webkit-scrollbar { height: 4px; }
.hero-filmstrip::-webkit-scrollbar-thumb { background: rgba(240, 193, 75,0.4); border-radius: 4px; }

.hero-strip-thumb {
  flex: 0 0 auto;
  width: 40px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-strip-thumb:hover { opacity: 0.9; transform: translateY(-3px); }
.hero-strip-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(240, 193, 75, 0.45);
}

.hero-poster-showcase {
  flex: 0 0 auto;
  width: min(280px, 32vw);
  margin-bottom: 8px;
}
.hero-poster-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(240, 193, 75, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: perspective(800px) rotateY(-6deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.cinematic-hero.hero-locked .hero-poster-frame {
  transform: perspective(800px) rotateY(0deg) scale(1.03);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.75),
    0 0 0 2px rgba(240, 193, 75, 0.6);
}
#hero-poster-clear {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}
.hero-poster-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.22) 0%, transparent 40%, transparent 100%);
  pointer-events: none;
}

.hero-progress {
  margin-top: 18px;
  height: 3px;
  width: 200px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #fff5d6);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.hero-credits {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(240, 193, 75, 0.22);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  max-width: 100%;
}
.hero-credits-hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.hero-credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 12px;
}
.hero-credits-grid.hidden { display: none; }
.hc-block { min-width: 0; }
.hc-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.hc-value {
  font-size: 13px;
  line-height: 1.45;
  color: var(--cream);
  word-wrap: break-word;
}

.crew-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(240, 193, 75, 0.2);
  background: rgba(255, 255, 255, 0.04);
}
.crew-panel h4 {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.crew-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.crew-item .role-tag {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.crew-item .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
}
.crew-item .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.crew-cast-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.crew-cast-chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: #a7f3d0;
}
.crew-cast-chip span { color: var(--muted); font-size: 10px; }

.hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  z-index: 6;
  background: linear-gradient(180deg, transparent, #050505 90%);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 28, 34, 0.12);
}
.brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  line-height: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-askqa {
  font-size: clamp(20px, 2.2vw, 28px);
  background: linear-gradient(180deg, #1A1C22 0%, #C4922A 70%, #A67B1F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.brand-movies {
  font-size: clamp(14px, 1.6vw, 18px);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
}
.brand-tag {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  font-weight: 600;
  text-shadow: none;
}
.en-sub { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.hero-tamil, .tamil, #detail-tamil { font-family: "Noto Sans Tamil", "Outfit", sans-serif; }

.hero-reviews-btn {
  font-size: 15px;
  letter-spacing: 0.3px;
}

.btn-gloss.ticket {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.4);
}
.btn-gloss.ticket:hover { box-shadow: 0 12px 36px rgba(230, 57, 70, 0.55); }

.ticket-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ticket-city-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ticket-city-select {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--cream);
  font-size: 12px;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  cursor: pointer;
}
.ticket-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 520px;
  line-height: 1.4;
}
.detail-actions .ticket-block { justify-content: center; }
.detail-actions + .ticket-note { text-align: center; margin-bottom: 8px; }

.stats-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: -40px;
}
.stat {
  text-align: center;
  padding: 18px 12px;
  background: rgba(26, 10, 18, 0.92);
  backdrop-filter: blur(12px);
}
.stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}

.trending-section {
  position: relative;
  z-index: 3;
  padding: 28px 24px 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 4px;
}
.section-head p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.trending-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.trend-card {
  flex: 0 0 auto;
  width: 130px;
  cursor: pointer;
  transition: transform 0.25s;
}
.trend-card:hover { transform: translateY(-6px); }
.trend-card img {
  width: 130px;
  height: 195px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.trend-card.active img { border-color: var(--gold); }
.trend-card h4 {
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.3;
  color: var(--cream);
  font-weight: 600;
}
.trend-card .td {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 4px;
}

.monetize-strip {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed rgba(240, 193, 75, 0.2);
  background: rgba(0,0,0,0.2);
}
.monetize-strip strong { color: var(--gold); }

.movie-card .crew-mini {
  font-size: 13px;
  color: #0F6B66;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.sidebar {
  border-right: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 12px;
  position: sticky;
  top: 0;
  background: rgba(45, 15, 31, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.sidebar-head h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
}
.pill {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #050505;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.movie-list {
  padding: 8px 12px 24px;
  overflow-x: hidden;
  max-width: 100%;
}
.home-movie-list {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
  max-width: 100%;
  scrollbar-width: thin;
}
.home-movie-list::-webkit-scrollbar {
  width: 6px;
  height: 0;
}
.home-movie-list::-webkit-scrollbar:horizontal {
  display: none;
  height: 0;
}

.movie-card {
  display: flex;
  gap: 12px;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
}
.movie-card:hover {
  background: var(--glass2);
  border-color: var(--border);
  transform: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.movie-card.active {
  background: linear-gradient(135deg, rgba(240, 193, 75,0.15), rgba(230,57,70,0.1));
  border-color: rgba(240, 193, 75,0.4);
  box-shadow: 0 0 24px rgba(240, 193, 75,0.12);
}

.thumb-mini {
  width: 56px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.movie-card .info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.movie-card .info h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #1a0f0a;
  background: linear-gradient(180deg, #ffe08a, var(--gold));
  border: 1px solid rgba(240, 193, 75,0.7);
  font-family: "Outfit", sans-serif;
  line-height: 1.4;
}
.left-meta .cert-inline,
.detail-info .cert-badge {
  margin-right: 4px;
}
.movie-card .info .dt { font-size: 13px; color: var(--muted); }
.movie-card .info .title-alt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
  margin: 0 0 1px;
}
.movie-card .info .rt { font-size: 14px; font-weight: 600; color: var(--gold); margin-top: 2px; }
.movie-card .crew-mini {
  font-size: 13px;
  color: #0F6B66;
  margin-top: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage {
  padding: 24px 28px;
  overflow: visible;
  max-height: none;
  position: relative;
}

.welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}
.welcome-inner {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}
.reel { font-size: 56px; margin-bottom: 16px; }
.welcome h3 { font-family: "Playfair Display", serif; font-size: 24px; margin-bottom: 8px; }
.welcome p { color: var(--muted); }

.hidden { display: none !important; }

.detail { position: relative; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.detail-backdrop {
  position: absolute;
  inset: -24px -28px auto;
  height: 280px;
  background-size: cover;
  background-position: center top;
  filter: blur(40px) brightness(0.4);
  opacity: 0.5;
  z-index: 0;
  border-radius: 0 0 40px 40px;
}

.detail-glass {
  position: relative;
  z-index: 1;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}

.detail-top {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}

.poster-wrap {
  position: relative;
  flex-shrink: 0;
}
.poster-wrap img {
  width: 160px;
  height: 240px;
  object-fit: contain;
  background: #0a0508;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.poster-shine {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.detail-info .release { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.detail-info h2 { font-family: "Playfair Display", serif; font-size: 32px; line-height: 1.15; margin-bottom: 6px; }
.detail-info .tamil { font-size: 18px; color: var(--muted); margin-bottom: 16px; }
.rating-block { margin-bottom: 16px; }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.rating-block span:last-child { margin-left: 12px; color: var(--muted); font-size: 14px; }
.tagline { font-size: 15px; line-height: 1.6; color: #e8dfd4; font-weight: 300; }

.ai-glass {
  background: linear-gradient(135deg, rgba(240, 193, 75,0.08), rgba(230,57,70,0.06));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.ai-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}
.ai-glass p { line-height: 1.7; font-size: 15px; }
.sentiment {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.sentiment.positive { background: rgba(94,234,212,0.15); color: var(--green); border: 1px solid rgba(94,234,212,0.3); }
.sentiment.mixed { background: rgba(240, 193, 75,0.12); color: var(--gold); border: 1px solid var(--border); }
.sentiment.negative { background: rgba(230,57,70,0.15); color: #ff8a8a; border: 1px solid rgba(230,57,70,0.3); }

.comments-block h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px;
  background: rgba(0,0,0,0.2);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.comment-form input,
.comment-form textarea,
.comment-form select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.form-actions { display: flex; gap: 10px; }
.form-actions select { flex: 0 0 130px; }
.form-actions button {
  flex: 1;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  border: none;
  border-radius: 10px;
  color: #050505;
  font-weight: 700;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(240, 193, 75,0.3);
  transition: transform 0.15s;
}
.form-actions button:hover { transform: translateY(-1px); }

#comments-list { display: flex; flex-direction: column; gap: 12px; }
.comment {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
}
.comment .who { font-weight: 600; margin-bottom: 4px; }
.comment .when { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.comment .text { line-height: 1.6; font-size: 14px; }
.comment .cr { color: var(--gold); font-size: 12px; margin-top: 8px; }

footer {
  text-align: center;
  padding: 20px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.site-footer { padding: 28px 24px 32px; }
.site-footer p { margin-bottom: 10px; }
.footer-sources {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 12px;
  color: #a89888;
}
.footer-sources a { color: var(--gold); text-decoration: underline; }

.data-source-bar {
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(240, 193, 75, 0.2);
  backdrop-filter: blur(8px);
}
.data-source-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  max-width: 1200px;
  margin: 0 auto;
}
.ds-label {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
.ds-item strong { color: var(--cream); margin-right: 6px; }
.ds-item a { color: #5eead4; text-decoration: none; font-weight: 600; }
.ds-item a:hover { text-decoration: underline; }
.ds-note { opacity: 0.75; margin-left: 4px; }
.ds-sep { opacity: 0.3; }
.ds-muted { font-size: 11px; }

.data-credit {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: rgba(94, 234, 212, 0.06);
  font-size: 12px;
  line-height: 1.6;
  color: #a7f3d0;
}
.data-credit a { color: #5eead4; font-weight: 600; }
.data-credit .dc-updated { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }

.ai-glass.typing #ai-summary::after {
  content: "|";
  color: var(--gold);
  animation: summaryBlink 0.9s step-end infinite;
  margin-left: 1px;
}
@keyframes summaryBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 1100px) {
  .site-nav,
  .hero-nav {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "search search";
    row-gap: 12px;
  }
  .nav-brand { grid-area: brand; }
  .nav-center { grid-area: search; max-width: none; }
  .nav-tools { grid-area: tools; }
}

@media (max-width: 900px) {
  .cinematic-hero { min-height: 65vh; }
  .site-nav,
  .hero-nav {
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "search search";
  }
  .nav-tools { justify-content: flex-end; }
  .nav-auth-btn { padding: 7px 11px; font-size: 11px; }
  .chat-toggle-label { display: none; }
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px 100px;
    gap: 20px;
  }
  .hero-poster-showcase {
    width: min(200px, 55vw);
    align-self: center;
    margin-bottom: 0;
  }
  .hero-filmstrip { left: 20px; right: 20px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .trending-section { padding: 20px 16px 8px; }
  .detail-actions { justify-content: center; }
  .hero-lens { display: none; }
  .main { grid-template-columns: 1fr; margin-top: 0; }
  .sidebar { max-height: 35vh; border-right: none; border-bottom: 1px solid var(--border); }
  .detail-top { flex-direction: column; align-items: center; text-align: center; }
}

/* ─── HOME SCREEN: LEFT | CHAT | RIGHT ─── */
.home-screen {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1.25fr) minmax(240px, 0.9fr);
  gap: 0;
  height: calc(100vh - 72px);
  min-height: 520px;
  max-height: calc(100vh - 72px);
  border-bottom: 1px solid rgba(240, 193, 75, 0.18);
  position: relative;
  z-index: 2;
  overflow-x: hidden;
  max-width: 100%;
}
.home-left,
.home-right {
  overflow: hidden;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.28);
  border-right: 1px solid rgba(240, 193, 75, 0.12);
}
.home-right { border-right: none; border-left: 1px solid rgba(240, 193, 75, 0.12); }
.left-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 14px 12px;
  overflow-x: hidden;
  max-width: 100%;
}
.left-panel.hidden { display: none; }
.left-panel-movie {
  background:
    radial-gradient(ellipse 90% 50% at 10% 0%, rgba(240,193,75,0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 100%, rgba(180,60,90,0.1), transparent 50%);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.panel-head h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-bright);
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.home-movie-list {
  flex: 1;
  overflow-x: hidden !important;
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
  max-width: 100%;
  scrollbar-width: thin;
}
.left-back {
  align-self: flex-start;
  margin-bottom: 10px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  flex-shrink: 0;
}
.left-movie-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}
.left-movie-info {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.left-glass {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(242, 239, 232, 0.12) 0%, rgba(242, 239, 232, 0.04) 42%, rgba(12, 16, 24, 0.45) 100%);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 12px 28px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.left-glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255,248,235,0.12), transparent);
  pointer-events: none;
}
.left-glass-head {
  padding: 14px 14px 12px;
  flex-shrink: 0;
}
.left-head-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}
.left-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  margin: 0;
  background: linear-gradient(180deg, #ffffff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.left-cert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 3px 9px;
  border-radius: 8px;
  border: 1px solid rgba(240, 193, 75,0.65);
  background: linear-gradient(180deg, rgba(240, 193, 75,0.35), rgba(240, 193, 75,0.12));
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  -webkit-text-fill-color: var(--gold-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.left-cert[hidden] { display: none; }
.left-score {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(240, 193, 75, 0.5);
  background: linear-gradient(180deg, rgba(240, 193, 75, 0.28), rgba(240, 193, 75, 0.1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  min-width: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.left-score[hidden] { display: none; }
.left-score-num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-bright);
  -webkit-text-fill-color: var(--gold-bright);
  letter-spacing: -1px;
  text-align: center;
}
.left-score-num::after {
  content: none;
}
.left-score-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15px;
  color: var(--muted);
  line-height: 1.15;
  text-align: left;
  text-transform: none;
}
.left-score-meta::before {
  content: attr(data-unit);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
  -webkit-text-fill-color: var(--gold-bright);
  opacity: 0.9;
  line-height: 1;
}
.left-tamil {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255,245,235,0.88);
  margin: 0 0 4px;
}
.left-date {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--gold-bright);
  margin: 0;
  letter-spacing: 0.3px;
}
.left-facts {
  margin: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  flex: 1;
  min-height: 0;
  align-content: start;
}
.left-facts[hidden] { display: none; }
.left-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(240, 193, 75,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.left-fact-wide {
  grid-column: 1 / -1;
}
.left-fact-wide dd {
  font-size: 14px;
  line-height: 1.45;
}
.left-fact dt {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--gold);
}
.left-fact dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,245,235,0.95);
  word-break: break-word;
}
.left-people-pager {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin-top: 0;
  flex-shrink: 0;
  padding: 12px 14px;
}
.person-stage {
  width: 100%;
  max-width: none;
  text-align: left;
  position: relative;
  z-index: 1;
}
.person-stage.person-flip {
  animation: personPage 0.28s ease;
}
@keyframes personPage {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: none; }
}
.person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.person-photo,
.person-ph {
  width: 88px;
  height: 116px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0;
  border: 1px solid rgba(240, 193, 75,0.4);
  background: #1a1014;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 10px 22px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.person-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  font-family: "Outfit", sans-serif;
}
.person-text {
  min-width: 0;
  flex: 1;
}
.person-name {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  color: #fff4e8;
  font-weight: 700;
  margin-bottom: 4px;
}
.person-role {
  display: block;
  font-size: 13px;
  color: var(--gold-bright);
  line-height: 1.3;
}
.person-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.person-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  border: 1px solid rgba(240, 193, 75, 0.4);
  color: var(--gold-bright);
  background: rgba(240, 193, 75, 0.12);
}
.person-social:hover {
  background: rgba(240, 193, 75, 0.28);
}
.person-social.ig { border-color: rgba(225, 48, 108, 0.45); color: #e1306c; }
.person-social.fb { border-color: rgba(24, 119, 242, 0.45); color: #1877f2; }
.person-social.tw { border-color: rgba(29, 29, 29, 0.35); color: #1a1c22; }
@media (max-width: 1100px) {
  .left-facts { grid-template-columns: 1fr; }
}
.detail-people-pager {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.detail-people-pager .person-stage {
  min-height: 160px;
}
.person-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.person-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 193, 75,0.4);
  background: rgba(240, 193, 75,0.12);
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
}
.person-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.person-nav-btn:not(:disabled):hover {
  background: rgba(240, 193, 75,0.25);
}
.person-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  min-width: 56px;
  text-align: center;
  font-family: "Outfit", sans-serif;
}
.left-crew,
.left-cast-label,
.left-cast,
.left-people { display: none; }
.home-center {
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 3;
  border-left: 1px solid rgba(240, 193, 75, 0.22);
  border-right: 1px solid rgba(240, 193, 75, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240,193,75,0.08), transparent 55%),
    rgba(8, 4, 7, 0.55);
  box-shadow:
    inset 8px 0 24px rgba(0, 0, 0, 0.25),
    inset -8px 0 24px rgba(0, 0, 0, 0.25);
}
.home-center::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(240, 193, 75, 0.22);
  background:
    linear-gradient(160deg, rgba(255,245,235,0.08) 0%, rgba(255,245,235,0.02) 35%, rgba(12,6,10,0.45) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 16px 40px rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 0;
}
.chat-column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 18px 20px 16px;
}
.chat-column-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--gold-bright);
  border: 1px solid rgba(240, 193, 75, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(240, 193, 75, 0.16), rgba(20, 10, 14, 0.4));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.chat-clear-btn {
  margin-left: auto;
  border: 1px solid rgba(240, 193, 75, 0.35);
  background: rgba(240, 193, 75, 0.12);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Outfit", "Noto Sans Tamil", sans-serif;
}
.chat-clear-btn:hover {
  background: rgba(240, 193, 75, 0.22);
}
.chat-dot {
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(240,193,75,0.7));
}
.chat-column .chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px 14px;
  max-height: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 193, 75, 0.12);
}
.home-center .chat-bubble.user {
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.28), rgba(212, 160, 23, 0.16));
  border: 1px solid rgba(240, 193, 75, 0.35);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.home-center .chat-bubble.assistant {
  background: linear-gradient(160deg, rgba(255,245,235,0.1), rgba(255,245,235,0.03));
  border: 1px solid rgba(255,245,235,0.12);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.chat-compose {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 10px 4px;
  margin-top: 8px;
  border-top: 1px solid rgba(240, 193, 75, 0.18);
}
.chat-compose input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: #1A1C22;
  caret-color: #1A1C22;
  font-size: 14px;
  outline: none;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.chat-compose input::placeholder {
  color: #6B6560;
}
.chat-compose input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(240,193,75,0.15);
}
.chat-compose button {
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}
.chat-compose button:disabled { opacity: 0.5; cursor: wait; }
.poster-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 10px;
  gap: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 380px;
  max-height: calc(100vh - 96px);
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(240, 193, 75,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 40px rgba(240, 193, 75,0.12);
  background: #0a0508;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  object-position: center center;
  display: block;
}
/* Never show title / "Movie of the month" under right poster */
.poster-title,
.poster-sub,
#right-title,
#right-sub {
  display: none !important;
}
.poster-shine {
  display: none;
}
/* ===== SECOND SCREEN: reviews only (do not affect .home-screen) ===== */
.reviews-screen {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 20px 24px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.96), rgba(238, 234, 227, 0.98));
}
.reviews-welcome {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  text-align: center;
}
.reviews-welcome-inner {
  max-width: 420px;
  padding: 28px 24px;
}
.reviews-welcome h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
  color: var(--text);
}
.reviews-welcome p { color: var(--muted); font-size: 15px; }

.reviews-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 12px 40px rgba(26, 28, 34, 0.08);
  overflow: hidden;
  animation: fadeIn 0.35s ease;
}
.reviews-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(196, 146, 42, 0.08), transparent);
  flex-shrink: 0;
}
.reviews-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin: 0 0 2px;
  font-weight: 700;
}
.reviews-bar h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reviews-score-line {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-score-line .stars {
  font-size: 14px;
  letter-spacing: 1px;
}
.reviews-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.reviews-bar-actions .btn-gloss {
  padding: 10px 14px;
  font-size: 13px;
}
.reviews-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
}
.reviews-ai {
  margin: 0;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--border);
  padding: 18px 20px;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(196, 146, 42, 0.06), rgba(255,255,255,0.4));
}
.reviews-comments {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 18px 18px;
  overflow: hidden;
}
.reviews-comments h3 {
  flex-shrink: 0;
  margin-bottom: 12px;
}
.reviews-comments .comment-form {
  flex-shrink: 0;
  margin-bottom: 12px;
  padding: 12px;
}
.comments-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
  scrollbar-width: thin;
}
.reviews-screen .comment-form input,
.reviews-screen .comment-form textarea,
.reviews-screen .comment-form select {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.reviews-screen .comment-form {
  background: var(--surface);
}
.reviews-screen .comment {
  background: #fff;
  border: 1px solid var(--border);
}
.reviews-screen .ai-glass p {
  color: var(--text);
}

/* ===== THIRD SCREEN: upcoming / new coming ===== */
.upcoming-screen {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, #EEEAE3 0%, #F7F4EF 45%, #E8E2D8 100%);
}
.upcoming-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 14px;
}
.upcoming-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 4px;
}
.upcoming-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}
.upcoming-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.upcoming-grid {
  flex: 1;
  min-height: 0;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  align-content: start;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.upcoming-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
}
.upcoming-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 28, 34, 0.06);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.upcoming-card:hover {
  border-color: rgba(196, 146, 42, 0.45);
  transform: translateY(-2px);
}
.upcoming-card.active {
  border-color: rgba(196, 146, 42, 0.65);
  box-shadow: 0 0 0 1px rgba(196, 146, 42, 0.25);
}
.upcoming-thumb {
  width: 96px;
  height: 138px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface);
  display: block;
}
.upcoming-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upcoming-info h3 {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.upcoming-alt {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.upcoming-date {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold2);
}
.upcoming-facts {
  margin: 0;
  display: grid;
  gap: 4px;
}
.upcoming-facts > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px;
  font-size: 12px;
  line-height: 1.35;
}
.upcoming-facts dt {
  color: var(--muted);
  font-weight: 600;
}
.upcoming-facts dd {
  margin: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.upcoming-open {
  margin-top: auto;
  align-self: flex-start;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold2));
  color: #1a0f0a;
  font-family: inherit;
}

@media (max-width: 820px) {
  .reviews-screen { padding: 12px 12px 20px; }
  .reviews-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .reviews-ai {
    border-right: none;
    border-bottom: 1px solid var(--border);
    max-height: none;
  }
  .reviews-panel {
    min-height: auto;
    max-height: none;
  }
  .reviews-comments {
    min-height: 50vh;
  }
  .upcoming-screen { padding: 14px 12px 22px; }
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
}

/* legacy stage/detail layout unused — keep harmless fallbacks */
.main.full-stage,
.main {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.main .sidebar { display: none; }

@media (max-width: 980px) {
  .home-screen {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(420px, 55vh) auto;
    height: auto;
    max-height: none;
  }
  .home-left {
    max-height: 280px;
    border-right: none;
    border-bottom: 1px solid rgba(240, 193, 75,0.12);
  }
  .home-right {
    border-left: none;
    border-top: 1px solid rgba(240, 193, 75,0.12);
    min-height: 360px;
  }
  .left-movie-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "actions actions";
  }
  .nav-brand { grid-area: brand; }
  .nav-tools { grid-area: tools; }
  .nav-actions { grid-area: actions; justify-content: flex-start; }
}

/* ═══════════════════════════════════════════
   LIGHT PREMIERE — home screen + surfaces
   ═══════════════════════════════════════════ */
.home-screen {
  border-bottom: 1px solid var(--border);
  background: var(--bg1);
}
.home-left,
.home-right {
  background: var(--panel);
  border-right: 1px solid var(--border);
}
.home-right {
  border-right: none;
  border-left: 1px solid var(--border);
}
.left-panel-movie {
  background:
    radial-gradient(ellipse 90% 50% at 10% 0%, rgba(196,146,42,0.08), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 100%, rgba(196,30,58,0.04), transparent 50%);
}
.panel-head h2 { color: var(--gold); }
.movie-card:hover {
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(26, 28, 34, 0.08);
}
.movie-card.active {
  background: linear-gradient(135deg, rgba(196,146,42,0.12), rgba(196,30,58,0.06));
  border-color: rgba(196,146,42,0.35);
  box-shadow: none;
}
.thumb-mini {
  box-shadow: 0 4px 12px rgba(26, 28, 34, 0.12);
  background: var(--surface);
}
.left-glass {
  background: linear-gradient(145deg, #FFFFFF 0%, #F7F4EF 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(26, 28, 34, 0.08);
}
.left-glass::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
}
.left-title {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--text);
  background-clip: unset;
  color: var(--text);
}
.left-cert {
  border-color: rgba(196,146,42,0.45);
  background: linear-gradient(180deg, rgba(196,146,42,0.2), rgba(196,146,42,0.08));
  color: var(--gold2);
  -webkit-text-fill-color: var(--gold2);
  box-shadow: none;
}
.left-tamil { color: var(--muted); }
.left-date { color: var(--gold); }
.left-fact {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.left-fact dd { color: var(--text); }
.person-photo,
.person-ph {
  background: var(--surface);
  border-color: var(--border-strong);
  box-shadow: 0 6px 16px rgba(26, 28, 34, 0.1);
}
.person-name { color: var(--text); }
.person-nav-btn {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--gold);
}
.person-nav-btn:not(:disabled):hover {
  background: rgba(196,146,42,0.15);
}

.home-center {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--bg3);
  box-shadow: none;
}
.home-center::before {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(26, 28, 34, 0.06);
}
.chat-column-head {
  color: var(--gold);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
}
.chat-clear-btn {
  border-color: var(--border-strong);
  background: var(--panel);
  color: var(--gold);
}
.chat-clear-btn:hover { background: rgba(196,146,42,0.12); }
.chat-dot { filter: none; }
.chat-column .chat-messages {
  background: var(--surface);
  border: 1px solid var(--border);
}
.home-center .chat-bubble.user {
  background: linear-gradient(135deg, rgba(196,146,42,0.18), rgba(196,146,42,0.08));
  border: 1px solid rgba(196,146,42,0.3);
  color: var(--text);
  box-shadow: none;
}
.home-center .chat-bubble.assistant {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(26, 28, 34, 0.04);
}
.chat-compose {
  border-top: 1px solid var(--border);
}
.chat-compose input {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: #1A1C22;
  caret-color: #1A1C22;
}
.chat-compose input::placeholder { color: #6B6560; }
.chat-compose input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,146,42,0.15);
  color: #1A1C22;
  caret-color: #1A1C22;
}
.poster-frame {
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(26, 28, 34, 0.12);
  background: var(--surface);
}

.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
}
.comment-form {
  background: var(--surface);
  border: 1px solid var(--border);
}
.comment-form input,
.comment-form textarea,
.comment-form select {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}
.comment {
  background: var(--panel);
  border: 1px solid var(--border);
}
.tagline { color: var(--muted); }
.footer-sources { color: var(--muted); }
.data-source-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.detail-glass {
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(26, 28, 34, 0.08);
}
.detail-backdrop {
  filter: blur(40px) brightness(1.05);
  opacity: 0.35;
}
.poster-wrap img {
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(26, 28, 34, 0.12);
}
.sentiment.negative {
  color: #B91C1C;
  background: rgba(196,30,58,0.08);
  border-color: rgba(196,30,58,0.25);
}
.sentiment.positive {
  color: var(--green);
  background: rgba(26,138,92,0.1);
  border-color: rgba(26,138,92,0.25);
}

@media (max-width: 980px) {
  .home-left {
    border-bottom: 1px solid var(--border);
  }
  .home-right {
    border-top: 1px solid var(--border);
  }
}
