:root {
  --bg1: #1a0a12;
  --bg2: #2d0f1f;
  --bg3: #4a1530;
  --gold: #f0c14b;
  --gold2: #d4a017;
  --gold-bright: #ffd76a;
  --cream: #faf3e8;
  --muted: #c9b8a8;
  --glass: rgba(255, 245, 235, 0.08);
  --glass2: rgba(255, 245, 235, 0.14);
  --nav-glass: rgba(12, 6, 10, 0.88);
  --nav-input: rgba(0, 0, 0, 0.45);
  --border: rgba(240, 193, 75, 0.25);
  --border-strong: rgba(240, 193, 75, 0.55);
  --red: #e63946;
  --green: #5eead4;
}

* { 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; }

body {
  font-family: "Outfit", "Noto Sans Tamil", system-ui, sans-serif;
  background: linear-gradient(145deg, var(--bg1) 0%, var(--bg2) 40%, #1a1028 100%);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  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(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 500px; height: 500px; background: rgba(230, 57, 70, 0.2); top: -100px; right: -100px; }
.glow-2 { width: 400px; height: 400px; background: rgba(240, 193, 75, 0.12); bottom: 0; left: -80px; }

/* ─── 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, #1a0a12 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:
    linear-gradient(180deg, rgba(6, 3, 5, 0.98) 0%, rgba(14, 7, 11, 0.94) 100%);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border-bottom: 1px solid rgba(240, 193, 75, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 220, 150, 0.1) inset,
    0 10px 36px rgba(0, 0, 0, 0.5);
}
.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.tickets {
  background: linear-gradient(135deg, #e63946, #c1121f);
  color: #fff;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
}
.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 rgba(240, 193, 75, 0.35);
  background: transparent;
  color: #f5ebe0;
}
.nav-auth-btn.ghost:hover {
  border-color: var(--gold-bright);
  background: rgba(240, 193, 75, 0.1);
}
.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: #fff8e7;
  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: #fff8e7;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}
#cinema-chat-input::placeholder { color: rgba(201, 184, 168, 0.9); }
#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; }

.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: #d4c4b4;
  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: #fff8e7; }

.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, #fff 0%, #fff5d6 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: #1a0a12;
  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, #1a0a12 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 0 24px rgba(240, 193, 75, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.45);
}
.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, #fff8e7 0%, #ffd76a 42%, #d4a017 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(240, 193, 75, 0.4));
  text-transform: uppercase;
  letter-spacing: 2px;
}
.brand-movies {
  font-size: clamp(14px, 1.6vw, 18px);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: #f5ebe0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.95;
}
.brand-tag {
  font-size: 10px;
  color: var(--gold-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
  font-weight: 600;
  text-shadow: 0 0 14px rgba(240, 193, 75, 0.35);
}
.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: 10px;
  color: #5eead4;
  margin-top: 2px;
  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: #1a0a12;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.movie-list { padding: 8px 12px 24px; }

.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: translateX(4px);
  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: 48px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
}
.movie-card .info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  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: 11px; color: var(--muted); }
.movie-card .info .rt { font-size: 11px; color: var(--gold); margin-top: 4px; }

.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: #1a0a12;
  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(240px, 0.9fr) minmax(320px, 1.3fr) minmax(220px, 0.85fr);
  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;
}
.home-left,
.home-right {
  overflow: 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: 16px 14px;
}
.left-panel.hidden { display: none; }
.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-y: auto;
  min-height: 0;
  padding-right: 4px;
}
.left-back {
  align-self: flex-start;
  margin-bottom: 12px;
  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;
  gap: 14px;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.left-movie-poster {
  flex: 0 0 42%;
  max-width: 160px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(240,193,75,0.3);
  background: #0a0508;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}
.left-movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.left-movie-info {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.left-date {
  font-size: 13px;
  color: var(--gold-bright);
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}
.left-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.left-tamil { font-size: 14px; color: rgba(255,245,235,0.85); margin-bottom: 8px; }
.left-meta {
  font-size: 12px;
  color: var(--gold-bright);
  margin-bottom: 10px;
  line-height: 1.4;
}
.left-meta:empty { display: none; }
.left-people-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 0 0 8px;
  flex-shrink: 0;
}
.left-people {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  align-items: flex-start;
}
.left-people::-webkit-scrollbar { height: 4px; }
.left-people::-webkit-scrollbar-thumb {
  background: rgba(240,193,75,0.35);
  border-radius: 4px;
}
.person-card {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
  scroll-snap-align: start;
}
.person-photo,
.person-ph {
  width: 72px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 6px;
  border: 1px solid rgba(240,193,75,0.28);
  background: #1a1014;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.person-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  font-family: "Outfit", sans-serif;
}
.person-name {
  display: block;
  font-size: 10px;
  line-height: 1.25;
  color: #fff4e8;
  font-weight: 600;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-role {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.2;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.left-crew,
.left-cast-label,
.left-cast { display: none; }
.home-center {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240,193,75,0.06), transparent 55%),
    rgba(8, 4, 7, 0.55);
}
.chat-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px 14px;
}
.chat-column-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 6px 4px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(240, 193, 75, 0.15);
  margin-bottom: 8px;
}
.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: 8px 4px 12px;
  max-height: none;
}
.chat-compose {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 10px;
  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: rgba(0,0,0,0.4);
  color: #fff8e7;
  font-size: 14px;
  outline: none;
  font-family: "Noto Sans Tamil", "Outfit", sans-serif;
}
.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;
}
.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;
}
.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;
  }
  .left-movie-poster {
    max-width: 140px;
    align-self: center;
  }
  .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; }
}
