/* =========================================================
   KARI VIRUNTHU — Design tokens
   Palette:
     --leaf     deep banana-leaf green   #24402A
     --leaf-lt  lighter leaf green       #3F6146
     --brown    earthy brown             #3B2A20
     --gold     traditional gold         #C9A227
     --cream    warm cream               #F3EAD3
     --cream-2  secondary cream          #EAE0C4
     --red      dark red accent          #7C2D22
   Type:
     --font-display   'Baloo Tamma 2'  (headings, Tamil + Latin)
     --font-body      'Catamaran'      (body, Tamil + Latin)
   ========================================================= */

:root {
  --leaf: #24402A;
  --leaf-deep: #172B1B;
  --leaf-lt: #3F6146;
  --brown: #3B2A20;
  --brown-deep: #241811;
  --gold: #C9A227;
  --gold-lt: #E4C560;
  --cream: #F3EAD3;
  --cream-2: #EAE0C4;
  --red: #7C2D22;
  --red-lt: #9C3D2C;

  --font-display: 'Baloo Tamma 2', 'Catamaran', sans-serif;
  --font-body: 'Catamaran', 'Baloo Tamma 2', sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background-color: var(--cream);
  color: var(--brown-deep);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: 
    linear-gradient(rgba(243, 234, 211, 0.85), rgba(243, 234, 211, 0.85)),
    url('assets/images/light-bg.png') center/100% 100% no-repeat;
}

@media (max-width: 768px) {
  body::before {
    background: 
      linear-gradient(rgba(243, 234, 211, 0.5), rgba(243, 234, 211, 0.5)),
      url('assets/images/light-bg-mobile-new.png') center/100% 100% no-repeat;
  }
}

html[data-lang="ta"] body { font-family: var(--font-body); }

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  margin: 0;
}

p { margin: 0; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

img { max-width: 100%; display: block; }

.placeholder {
  color: var(--red-lt);
  font-style: italic;
  letter-spacing: 0.03em;
  border-bottom: 1px dashed var(--red-lt);
  padding-bottom: 2px;
}

/* language switching --------------------------------------------------- */
.i18n[data-lang-hidden] { display: none; }

/* ===================== FLOATING CONTROLS ===================== */
.floating-controls {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-toggle, .audio-toggle {
  background: rgba(36, 64, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--cream);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.lang-toggle:hover, .audio-toggle:hover { transform: translateY(-2px); background: rgba(36, 64, 42, 1); }
.lang-toggle:active, .audio-toggle:active { transform: translateY(0) scale(0.96); }

.lang-op { color: var(--gold-lt); }
.lang-sep { opacity: 0.5; }
.lang-ta { opacity: 0.7; }
html[data-lang="ta"] .lang-op { opacity: 0.7; color: var(--cream); }
html[data-lang="ta"] .lang-ta { opacity: 1; color: var(--gold-lt); }

.audio-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
}
.audio-toggle.is-on .audio-icon::after {
  content: "";
}
.audio-toggle.is-muted .audio-icon { opacity: 0.55; }

.audio-tooltip {
  position: fixed;
  top: 66px;
  right: 18px;
  z-index: 500;
  background: var(--brown-deep);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  max-width: 220px;
  text-align: right;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.audio-tooltip.show { opacity: 1; transform: translateY(0); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 16px 34px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--brown-deep);
  box-shadow: 0 10px 26px rgba(201,162,39,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px rgba(201,162,39,0.45); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: 0 6px 14px rgba(201,162,39,0.35); }
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}

.btn-rsvp-yes, .btn-rsvp-no {
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-rsvp-yes { background: var(--leaf-lt); color: var(--cream); border: 1px solid rgba(255,255,255,0.15); }
.btn-rsvp-no { background: transparent; color: var(--red-lt); border: 2px solid var(--red-lt); }
.btn-rsvp-yes:hover, .btn-rsvp-no:hover { transform: translateY(-3px); }
.btn-rsvp-yes:active, .btn-rsvp-no:active { transform: translateY(0) scale(0.96); }

/* ===================== LOADER ===================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: #fdfaf6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

#loader-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.enter-video-button {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7b1113, #a0181c);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 42px;
  border: 2px solid #d4af37;
  border-radius: 40px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.2s ease, background 0.2s ease;
}

.enter-video-button.visible {
  opacity: 1;
  pointer-events: auto;
  animation: pulseButton 1.6s ease-in-out infinite;
}

.enter-video-button:hover {
  transform: translateX(-50%) scale(1.06);
  background: #7b1113;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.enter-video-button:active {
  transform: translateX(-50%) scale(0.97);
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  50%      { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
}

@media (max-width: 768px) {
  .enter-video-button {
    font-size: 1rem;
    padding: 14px 32px;
    bottom: 10%;
  }
}

/* Skip button — bottom-right of loader */
.loader-skip-btn {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  z-index: 20;
}
.loader-skip-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.loader-skip-btn:active {
  transform: scale(0.96);
}

/* ===================== LAYOUT / SECTIONS ===================== */
.main-content { opacity: 0; transition: opacity 0.6s var(--ease); }
.main-content.show { opacity: 1; }

.section {
  position: relative;
  padding: clamp(64px, 12vw, 120px) clamp(20px, 6vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: bold;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  text-align: center;
  color: var(--leaf);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--brown);
  opacity: 0.75;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

/* scroll reveal --------------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

/* ===================== HERO ===================== */
.hero {
  max-width: 100%;
  width: 100%;
  margin: 0;
  min-height: 100svh;
  padding: 40px 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('assets/images/hero-bg.png') center/cover no-repeat, var(--leaf-deep);
  color: var(--cream);
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 90px;
  }
}

.hero-bg-motif { position: absolute; inset: 0; pointer-events: none; }
.motif { position: absolute; opacity: 0.16; font-size: 4rem; filter: blur(0.3px); }
.leaf-a { top: 8%; left: 6%; animation: floatY 7s ease-in-out infinite; }
.leaf-b { bottom: 12%; right: 8%; font-size: 5rem; animation: floatY 9s ease-in-out infinite reverse; }
.leaf-c { top: 55%; left: -3%; font-size: 3rem; animation: floatY 6s ease-in-out infinite; }
.motif-diya { top: 14%; right: 10%; font-size: 2.6rem; opacity: 0.14; animation: floatY 8s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

.hero-content { max-width: 680px; padding: 0 20px; width: 100%; }

.hero-title {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
  margin-bottom: 8px;
}

.hero-content .eyebrow {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  color: var(--gold-lt);
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 700;
  color: var(--cream-2);
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-hosts { margin-bottom: 24px; }
.hosts-label { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.12em; color: var(--gold-lt); text-transform: uppercase; margin-bottom: 4px; }
.hosts-names { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.45rem); color: var(--cream); }
.host-and { color: var(--gold-lt); margin: 0 4px; }

/* Video Frame in Hero */
.hero-video-container {
  position: relative;
  margin: 16px auto 24px;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(201,162,39,0.8), rgba(201,162,39,0.2), rgba(201,162,39,0.6));
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 24px rgba(201,162,39,0.25);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-video-container:hover {
  transform: scale(1.02);
}

.funny-announce-badge {
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #7C2D22, #9C3D2C);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-lt);
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  cursor: pointer;
  animation: badgeBounce 2s ease-in-out infinite;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.funny-announce-badge:hover {
  transform: scale(1.08) translateY(-2px);
  background: linear-gradient(135deg, #9C3D2C, #C9A227);
  box-shadow: 0 6px 20px rgba(201,162,39,0.5);
}
.funny-announce-badge:active {
  transform: scale(0.96);
}
@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* GPU compositing hint for smooth playback */
  will-change: transform;
  transform: translateZ(0);
  contain: strict;
}

/* Smooth playback on all video elements */
video {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transition: opacity 0.3s var(--ease);
  cursor: pointer;
}
.hero-video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.big-play-btn {
  background: rgba(201, 162, 39, 0.9);
  color: #fff;
  border: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 6px; /* Offset play icon slightly */
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s var(--ease);
  cursor: pointer;
}
.hero-video-overlay:hover .big-play-btn {
  transform: scale(1.1);
}

.hero-replay-overlay {
  background: rgba(0, 0, 0, 0.55);
}
.replay-btn {
  background: rgba(201, 162, 39, 0.9);
  font-size: 1.3rem;
  padding-left: 0;
}
.hero-replay-overlay:hover .replay-btn {
  transform: scale(1.1);
}

.hero-video-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.video-ctrl-btn {
  background: rgba(23, 43, 27, 0.75);
  backdrop-filter: blur(4px);
  color: var(--gold-lt);
  border: 1px solid rgba(201, 162, 39, 0.5);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.video-ctrl-btn:hover {
  transform: scale(1.12);
  background: rgba(23, 43, 27, 0.95);
  border-color: var(--gold-lt);
}

.video-ctrl-btn:active {
  transform: scale(0.94);
}

.hero-cta { margin-bottom: 10px; }
.hero-sub { font-size: 0.85rem; color: var(--cream-2); opacity: 0.8; letter-spacing: 0.04em; }

.menu-cta-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-lt);
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(243,234,211,0.4);
  border-radius: 14px;
}
.scroll-hint span {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--gold-lt);
  border-radius: 50%;
  margin: 7px auto 0;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===================== BREAKING NEWS ===================== */
.breaking {
  background: transparent;
  padding-top: clamp(80px, 15vw, 120px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breaking-content {
  text-align: center;
  max-width: 600px;
  width: 90%;
  margin: 0 auto 60px;
}

.breaking-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 999px;
  max-width: fit-content;
  margin: 0 auto 24px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cream);
  animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.breaking-headline {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--brown-deep);
  margin-bottom: 30px;
  line-height: 1.2;
}

.breaking-image-wrapper {
  margin: 0 auto 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(36, 24, 17, 0.15), 0 0 0 1px rgba(201, 162, 39, 0.3);
}
.breaking-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.breaking-status {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--cream-2);
  padding: 24px;
  border-radius: 16px;
  border: 1px dashed rgba(201, 162, 39, 0.4);
  margin-bottom: 30px;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.15rem;
}
.status-icon {
  font-size: 1.3rem;
}
.status-label {
  color: var(--brown);
  font-weight: 600;
}
.status-value {
  color: var(--leaf-deep);
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.status-value.highlight {
  color: var(--red);
}

.breaking-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}



@media (max-width: 500px) {
  .breaking-status {
    padding: 20px;
  }
  .status-item {
    font-size: 1.05rem;
  }
}

/* ===================== VIRUNTHU SERVING ===================== */
.serving {
  position: relative;
  padding: 0;
  height: 450vh;
  background: radial-gradient(120% 90% at 50% 8%, var(--cream) 0%, var(--cream-2) 58%, var(--cream) 100%);
}

.serving-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.serving-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.serving-leaf-wrap {
  position: relative;
  width: max(210px, min(70vw, calc(100vh - 230px)));
  aspect-ratio: 1 / 1;
}

.serving-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.serving-leaf-img {
  z-index: 1;
  filter: drop-shadow(0 48px 60px rgba(23, 43, 27, 0.30));
}

.serving-food {
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.serving-food-lower { z-index: 3; }

.serving-heat {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 24%;
  width: 48%;
  height: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.serving-heat span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  filter: blur(7px);
  animation: servingSteam 4.4s ease-in-out infinite;
  will-change: transform, opacity;
}
.serving-heat span:nth-child(2) { left: 36%; animation-delay: -1.5s; }
.serving-heat span:nth-child(3) { left: 64%; animation-delay: -2.8s; }
@keyframes servingSteam {
  0%   { opacity: 0; transform: translate(-50%, 18px) scale(0.85); }
  35%  { opacity: 0.65; }
  100% { opacity: 0; transform: translate(-50%, -64px) scale(1.2); }
}

.serving-caption {
  position: relative;
  flex: 0 0 auto;
  height: 148px;
  width: 100%;
  text-align: center;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}
.serving-caption-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.serving-caption-item.is-active {
  opacity: 1;
  transform: translateY(0);
}
.serving-headline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--leaf);
  text-transform: uppercase;
}
.serving-sub {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  color: var(--brown);
  opacity: 0.9;
}

/* ===================== HUNGER TEST ===================== */
.hunger { background: var(--brown-deep); color: var(--cream); max-width: none; }
.hunger .eyebrow { color: var(--gold-lt); }
.hunger .section-title { color: var(--cream); }
.hunger .section-sub { color: var(--cream-2); }

.hunger-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 40px auto 0;
}
@media (max-width: 520px) {
  .hunger-grid { grid-template-columns: 1fr; }
}

.hunger-card {
  background: rgba(243,234,211,0.06);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius);
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--cream);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hunger-card:hover { transform: translateY(-4px); background: rgba(243,234,211,0.1); border-color: var(--gold-lt); }
.hunger-card:active { transform: translateY(0) scale(0.97); }
.hunger-card.selected { background: rgba(201,162,39,0.18); border-color: var(--gold-lt); }
.hunger-emoji { font-size: 2rem; }

/* ===================== FUN ZONE ===================== */
.fun-zone {
  background: rgba(234, 224, 196, 0.6);
  text-align: center;
}

/* Guest Reveal */
.reveal-content {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-content.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  position: absolute;
}
.reveal-btn {
  background: var(--leaf-deep);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.15);
}
.reveal-video-wrapper {
  margin: 30px auto 0;
  max-width: 800px;
  width: 90vw;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-video-wrapper.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.goat-video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  display: block;
}
.reveal-after-text {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-after-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* Virunthu Pass Input */
.pass-input-state {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.pass-input-state[hidden] {
  display: none;
}
.pass-input-wrapper {
  margin: 30px auto 0;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pass-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(201,162,39,0.3);
  border-radius: 999px;
  background: var(--cream);
  color: var(--brown-deep);
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s var(--ease);
  outline: none;
}
.pass-input:focus {
  border-color: var(--gold-lt);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.1);
}
.pass-generate-btn {
  width: 100%;
  background: var(--leaf-deep);
  color: var(--cream);
}

/* VIP Pass Result */
.pass-result-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  perspective: 1000px;
}
.pass-result-state[hidden] {
  display: none;
}

.virunthu-vip-card {
  width: 100%;
  max-width: 400px;
  background: var(--cream);
  background-image: radial-gradient(circle at 10% 20%, rgba(36,64,42,0.03) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(36,64,42,0.03) 0%, transparent 20%);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(23, 43, 27, 0.15);
  transform-style: preserve-3d;
  opacity: 0;
  transform: rotateX(20deg) scale(0.95);
  animation: flipInVIP 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes flipInVIP {
  to {
    opacity: 1;
    transform: rotateX(0deg) scale(1);
  }
}

.vip-border {
  border: 1px solid var(--gold-lt);
  border-radius: 8px;
  padding: 24px;
  text-align: left;
}

.vip-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--leaf-deep);
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0 0 24px 0;
}

.vip-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vip-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vip-row-2col {
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}

.vip-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vip-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-lt);
  text-transform: uppercase;
}

.vip-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown-deep);
}

.vip-name-val {
  font-size: 1.5rem;
  color: var(--red-lt);
}

.vip-status-val {
  color: var(--leaf-lt);
}

.vip-divider {
  border: 0;
  border-top: 1px dashed rgba(201,162,39,0.4);
  margin: 24px 0;
}

.vip-footer {
  text-align: center;
}

.vip-access-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--leaf-deep);
  margin: 6px 0 12px;
}

.vip-tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--brown);
  opacity: 0.8;
}

.pass-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pass-edit-btn {
  background: transparent;
  color: var(--brown-deep);
  border: 2px solid rgba(36,24,17,0.15);
}
.pass-edit-btn:hover {
  border-color: var(--brown);
  background: rgba(36,24,17,0.05);
}

/* --- FUN ZONE TABS --- */
.fun-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 30px auto 40px;
  flex-wrap: wrap;
}

.fun-tab-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--brown-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.fun-tab-btn:hover {
  background: rgba(201, 162, 39, 0.1);
}

.fun-tab-btn.active {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(23, 43, 27, 0.2);
}

.fun-tab-pane {
  display: none;
  animation: fadeIn 0.5s var(--ease);
}

.fun-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.meme-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 650px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .meme-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(36, 24, 17, 0.1);
  transition: transform 0.3s var(--ease);
  background: var(--brown-deep);
  cursor: zoom-in;
}
.gallery-img:hover {
  transform: scale(1.03) translateY(-4px);
}

.funny-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.funny-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(36, 24, 17, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.funny-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.funny-item p {
  color: var(--brown);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}


/* ===================== DETAILS ===================== */
.details { background: transparent; text-align: center; }

.details-meme-wrapper {
  margin: 0 auto 50px;
  max-width: 600px;
  width: 92vw;
}
.details-meme-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(36, 24, 17, 0.15);
  display: block;
}

.details-transition {
  margin-bottom: 50px;
}
.details-transition p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  font-style: italic;
  font-weight: 500;
}

.details-content {
  max-width: 500px;
  margin: 0 auto;
}

.details-simple-list {
  background: linear-gradient(160deg, #fff, var(--cream-2));
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 16px;
  padding: 30px 20px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 16px 34px rgba(59, 42, 32, 0.06);
}

.details-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(201, 162, 39, 0.3);
}
.details-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.details-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
}

.details-text {
  font-size: 1.15rem;
  color: var(--brown-deep);
  font-weight: 700;
  line-height: 1.4;
}

/* ===================== LOCATION ===================== */
.location {
  background: linear-gradient(rgba(23, 43, 27, 0.85), rgba(23, 43, 27, 0.9)), url('assets/images/goats_meat_bg.png') center/cover repeat;
  color: var(--cream);
  text-align: center;
}
.location .eyebrow { color: var(--gold-lt); }
.location .section-title { color: var(--cream); margin-bottom: 40px; }

/* Animated Roadmap */
.roadmap-wrapper {
  position: relative;
  max-width: 900px;
  margin: 60px auto 20px;
  padding: 40px 0 100px;
}

.road-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  background: transparent;
  border-bottom: 4px dashed var(--gold-lt);
  transform: translateY(-50%);
  z-index: 1;
}

.route-point {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
}

.point-start { left: 0; }
.point-mid { left: 50%; transform: translate(-50%, -50%); }
.point-end { right: 0; }

.point-dot {
  width: 24px;
  height: 24px;
  background: var(--cream);
  border: 4px solid var(--leaf);
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.point-end .point-dot {
  border-color: var(--red);
  background: var(--gold-lt);
}

.point-text {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  white-space: nowrap;
}

.bus-marker {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cream);
  border: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.bus-img-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.bus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bus-emoji {
  position: absolute;
  bottom: -15px;
  right: -20px;
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.roadmap-wrapper.in-view .bus-marker {
  animation: driveBus 8s ease-in-out forwards;
}

@keyframes driveBus {
  0% {
    left: 0;
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  25% {
    transform: translate(-50%, -60%) rotate(3deg);
  }
  50% {
    left: 50%;
    transform: translate(-50%, -40%) rotate(-3deg);
  }
  75% {
    transform: translate(-50%, -60%) rotate(5deg);
  }
  100% {
    left: 100%;
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@media (max-width: 600px) {
  .bus-marker { width: 65px; height: 65px; }
  .point-text { font-size: 0.85rem; }
  .point-dot { width: 18px; height: 18px; border-width: 3px; }
  .bus-emoji { font-size: 1.6rem; bottom: -10px; right: -15px; }
}

/* ===================== RSVP ===================== */
.rsvp {
  background: rgba(234, 224, 196, 0.6);
  text-align: center;
  position: relative;
}

.rsvp-text {
  max-width: 480px;
  margin: 20px auto 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--brown);
}

.rsvp-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.rsvp-confirmed {
  margin-top: 40px;
  animation: popIn 0.5s var(--ease);
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
.confirmed-emoji { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.confirmed-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf); margin-bottom: 6px; }
.confirmed-sub { color: var(--brown); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,43,27,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.show { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 30px;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: scale(0.85) translateY(10px);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.show .modal-box { transform: scale(1) translateY(0); }

.modal-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--red);
  margin-bottom: 22px;
}

.meme { background: transparent; }

.meme-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 720px) {
  .meme-stages { grid-template-columns: 1fr; }
}

.meme-stage {
  background: var(--brown-deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s var(--ease);
}
.meme-stage:hover { transform: translateY(-6px); }
.meme-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold-lt);
}
.meme-emoji { font-size: 2.4rem; }
.meme-stage p { font-size: 1rem; color: var(--cream-2); font-style: italic; }

/* ===================== FAMILY MESSAGE ===================== */
.family {
  background: linear-gradient(180deg, rgba(243, 234, 211, 0.4), rgba(234, 224, 196, 0.6));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Floating Hearts Animation */
.family-floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.f-heart {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: floatHeart 12s linear infinite;
}
.f-heart:nth-child(1) { left: 15%; bottom: -10%; animation-delay: 0s; font-size: 1.5rem; }
.f-heart:nth-child(2) { left: 35%; bottom: -10%; animation-delay: 4s; font-size: 1rem; }
.f-heart:nth-child(3) { left: 55%; bottom: -10%; animation-delay: 2s; font-size: 1.2rem; }
.f-heart:nth-child(4) { left: 75%; bottom: -10%; animation-delay: 7s; font-size: 1.4rem; }
.f-heart:nth-child(5) { left: 85%; bottom: -10%; animation-delay: 1s; font-size: 1rem; }

@keyframes floatHeart {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  10% { opacity: 0.4; }
  50% { transform: translateY(-150px) rotate(15deg) scale(1); opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-300px) rotate(-10deg) scale(1.1); opacity: 0; }
}

.family-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}

.ornament-top, .ornament-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.ornament-line {
  height: 1.5px;
  width: 60px;
  background: var(--gold-lt);
  opacity: 0.6;
}
.ornament-leaf, .ornament-heart {
  font-size: 1.2rem;
  color: var(--red);
}

/* ---- Love Card ---- */
.love-card {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(165deg, #FFF8EE, #F5ECD8, #FFF8EE);
  border-radius: 20px;
  padding: 6px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.15),
    0 0 0 1px rgba(201,162,39,0.2),
    0 0 30px rgba(201,162,39,0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.love-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.2),
    0 0 0 1px rgba(201,162,39,0.3),
    0 0 40px rgba(201,162,39,0.12);
}

.love-card-inner {
  border: 2px solid rgba(201,162,39,0.35);
  border-radius: 16px;
  padding: 40px 30px 32px;
  position: relative;
  text-align: center;
}

/* Wax Seal */
.love-seal {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), #7C2D22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(124,45,34,0.4);
  border: 2px solid rgba(201,162,39,0.5);
}

/* Ornament Lines */
.love-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}
.love-orn-line {
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
}
.love-orn-icon {
  font-size: 1rem;
  color: var(--red);
  opacity: 0.7;
}

/* Title */
.love-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--red);
  margin: 8px 0 16px;
}

/* Body */
.love-card-body {
  margin: 8px 0 16px;
}
.love-card-names {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--leaf);
  margin-bottom: 12px;
}
.love-card-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--brown);
  margin-bottom: 16px;
}

/* Leaf Divider */
.love-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
}
.love-div-leaf {
  font-size: 1.2rem;
  opacity: 0.7;
  animation: floatY 5s ease-in-out infinite;
}

.love-card-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--leaf-deep);
  line-height: 1.6;
  font-style: italic;
}

/* Footer */
.love-card-footer {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--red);
  margin-top: 8px;
  opacity: 0.85;
  font-style: italic;
}


/* ===================== FINALE ===================== */
.finale {
  min-height: 100svh;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(201,162,39,0.14), transparent 60%),
    linear-gradient(180deg, var(--brown-deep), var(--leaf-deep));
  color: var(--cream);
  overflow: hidden;
}

.finale-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti-leaf {
  position: absolute;
  top: -10%;
  font-size: 1.4rem;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(340deg); opacity: 0; }
}

.finale-content { max-width: 640px; padding: 0 20px; position: relative; z-index: 1; }

.finale-tamil-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  color: var(--gold-lt);
  margin-bottom: 6px;
}
.finale-tamil-small {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  color: var(--cream-2);
  margin-bottom: 24px;
}
.finale-english {
  font-size: 1.05rem;
  color: var(--cream-2);
  line-height: 1.6;
  margin-bottom: 34px;
  opacity: 0.85;
}
.finale-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 14px;
}
.finale-hosts-label { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--gold-lt); text-transform: uppercase; margin-bottom: 6px; }
.finale-hosts { font-family: var(--font-display); font-size: 1.1rem; color: var(--cream); margin-bottom: 30px; }

.finale-btn.launched {
  pointer-events: none;
}

/* ===================== FOOTER SPACE ===================== */
main > .section:last-child { padding-bottom: clamp(64px, 12vw, 120px); }

/* ===================== RESPONSIVE TUNING ===================== */
@media (max-width: 600px) {
  .btn { padding: 14px 26px; font-size: 0.92rem; }
  .serving-caption { height: 132px; }
  .serving-leaf-wrap { width: max(180px, min(92vw, calc(100vh - 170px))); }
  .serving-leaf-wrap { width: max(180px, min(92vw, calc(100svh - 170px))); }
  .details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .details-grid { grid-template-columns: 1fr; }
}

/* ===================== T&C MODAL ===================== */
.tc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 17, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.tc-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.tc-modal {
  position: relative;
  pointer-events: auto !important;
  background: var(--cream);
  background-image: radial-gradient(circle at 10% 20%, rgba(36,64,42,0.04) 0%, transparent 20%),
                    radial-gradient(circle at 90% 80%, rgba(36,64,42,0.04) 0%, transparent 20%);
  border: 1px solid rgba(36,64,42,0.1);
  border-radius: var(--radius);
  padding: 40px 30px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(23, 43, 27, 0.25);
  text-align: center;
  transform: translateY(20px) scale(0.85);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.tc-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--leaf-deep);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s var(--ease);
}
.tc-close-btn:hover {
  background: rgba(36,64,42,0.1);
}
.tc-modal-overlay.show .tc-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.tc-modal-leaf-deco {
  font-size: 2.2rem;
  margin-bottom: 12px;
  animation: floatY 6s ease-in-out infinite;
}
.tc-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--leaf);
  margin-bottom: 24px;
  border-bottom: 2px dashed rgba(36,64,42,0.2);
  padding-bottom: 16px;
  font-weight: 800;
}
.tc-content {
  text-align: center;
}
.tc-intro {
  font-size: 1.1rem;
  color: var(--brown-deep);
  font-weight: 600;
  margin-bottom: 16px;
}
.tc-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px auto;
  text-align: left;
  display: inline-block;
}
.tc-list li {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tc-icon-check {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--leaf);
}
.tc-icon-cross {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--red);
}
.tc-footer {
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 28px;
}
.tc-agree-btn {
  width: 100%;
}
@media (max-width: 600px) {
  .tc-modal {
    padding: 30px 20px;
    max-width: 90vw;
  }
}

/* ===================== HUNGER MEME MODAL ===================== */
.hunger-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.hunger-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.hunger-modal {
  background: var(--brown-deep);
  border: 1px solid var(--gold-lt);
  border-radius: var(--radius);
  padding: 30px 24px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(201, 162, 39, 0.2);
  text-align: center;
  transform: translateY(20px) scale(0.85);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hunger-modal-overlay.show .hunger-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.hunger-modal-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hunger-modal-image-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.hunger-modal-img {
  width: 100%;
  max-height: 35vh;
  object-fit: contain;
  display: block;
}
.hunger-modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 8px;
}
.hunger-modal-desc {
  font-size: 1.05rem;
  color: var(--cream-2);
  opacity: 0.9;
  margin-bottom: 24px;
}
.hunger-modal-btn {
  width: 100%;
}
@media (max-width: 600px) {
  .hunger-modal {
    padding: 24px 16px;
    max-width: 92vw;
  }
}

/* ===================== LIGHTBOX MODAL ===================== */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 11, 7, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  backdrop-filter: blur(8px);
}
.lightbox-overlay:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox-overlay:not([hidden]) .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cream);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  z-index: 10000;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

/* ===================== MENU PRANK MODAL ===================== */
.menu-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-modal-content {
  background: var(--brown-deep);
  border: 1px solid var(--gold-lt);
  border-radius: var(--radius);
  padding: 40px 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.menu-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.menu-state.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(201,162,39,0.3);
  border-top-color: var(--gold-lt);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.menu-loading-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-lt);
  letter-spacing: 0.1em;
}
.menu-video {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 8px;
}
.menu-prank {
  background: linear-gradient(135deg, var(--leaf-deep), var(--brown-deep));
  padding: 40px 20px;
}
.menu-prank-text {
  font-size: 1.4rem;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 24px;
}
.menu-prank-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-lt);
  margin-bottom: 8px;
}
.menu-prank-sub {
  font-size: 1rem;
  color: var(--cream-2);
}

/* ===================== SITE FOOTER ===================== */
.site-footer {
  background: var(--brown-deep);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(201,162,39,0.15);
}
.footer-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cream-2);
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.footer-heart {
  animation: heartPulse 1.5s ease-in-out infinite;
  display: inline-block;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.footer-logo {
  width: 80px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
  border-radius: 6px;
}
.footer-logo:hover {
  opacity: 1;
}
.footer-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s var(--ease);
}
.footer-link:hover {
  opacity: 1;
}
.footer-link:hover .footer-logo {
  opacity: 1;
}
