/* ============================================
   CHILLFLIX DAY - Design System & Form Styles
   Bollywood Retro Cinema Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-black: #0a0a0a;
  --color-black-light: #1a1a1a;
  --color-black-card: #141414;
  --color-black-input: #0d0d0d;

  --color-gold: #D4A843;
  --color-gold-light: #E8C86A;
  --color-gold-dark: #B8922E;
  --color-gold-glow: rgba(212, 168, 67, 0.3);
  --color-gold-subtle: rgba(212, 168, 67, 0.08);

  --color-red: #8B0000;
  --color-red-light: #A52A2A;
  --color-red-dark: #5C0000;
  --color-red-glow: rgba(139, 0, 0, 0.3);

  --color-white: #F5F5F0;
  --color-white-dim: rgba(245, 245, 240, 0.7);
  --color-gray: #888888;
  --color-gray-dark: #333333;
  --color-green: #2ECC71;

  --font-display: 'Cinzel Decorative', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-gold: 0 0 20px rgba(212, 168, 67, 0.15);
  --shadow-gold-strong: 0 0 40px rgba(212, 168, 67, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.8);

  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Faded Bollywood poster collage background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../assets/background.png') center / cover repeat;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

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

/* ---------- Film Grain Overlay ---------- */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain 0.4s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  30% { transform: translate(3%, 2%); }
  50% { transform: translate(-1%, 3%); }
  70% { transform: translate(2%, -2%); }
  90% { transform: translate(-3%, 1%); }
}

/* ---------- Spotlight Cursor ---------- */
.spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 168, 67, 0.04) 0%,
    transparent 60%
  );
  transition: background 0.15s ease;
}

/* ---------- Page Layout ---------- */
.page-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
}

/* ---------- Header / Logos ---------- */
.header {
  width: 100%;
  max-width: 700px;
  text-align: center;
  padding: var(--space-lg) 0;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.logos-row img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.logos-row img:hover {
  opacity: 1;
}

.logos-row img.logo-aakriti {
  height: 70px;
  filter: none;
}

.poster-hero {
  width: 100%;
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold-dark);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  overflow: hidden;
}

.poster-hero img {
  width: 100%;
  display: block;
}

/* ---------- Film Strip Progress Bar ---------- */
.progress-strip {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 0 auto var(--space-lg);
  max-width: 380px;
  width: 100%;
  position: relative;
  /* Film strip top & bottom sprocket bars */
  background: var(--color-black-card);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  border: 1px solid var(--color-gray-dark);
}

/* Top sprocket holes row */
.progress-strip::before,
.progress-strip::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(80, 80, 80, 0.5) 0px,
    rgba(80, 80, 80, 0.5) 10px,
    transparent 10px,
    transparent 22px
  );
  border-radius: 1px;
}

.progress-strip::before { top: 4px; }
.progress-strip::after { bottom: 4px; }

.reel {
  flex: 1;
  position: relative;
  padding: 4px var(--space-xs);
  text-align: center;
  background: transparent;
  border: none;
  border-right: 1px solid var(--color-gray-dark);
  transition: all var(--transition-base);
}

.reel:first-child {
  border-radius: 0;
}

.reel:last-child {
  border-radius: 0;
  border-right: none;
}

/* Remove old sprocket pseudo-elements on reels */
.reel::before,
.reel::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.reel::after {
  top: auto;
  bottom: -2px;
}

.reel::before {
  display: none;
}

.reel-number {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
  transition: color var(--transition-base);
}

.reel-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gray);
  transition: color var(--transition-base);
}

.reel.active {
  background: rgba(212, 168, 67, 0.08);
}

.reel.active::after {
  width: 60%;
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(212, 168, 67, 0.6);
}

.reel.active .reel-number,
.reel.active .reel-label {
  color: var(--color-gold);
}

.reel.completed {
  background: transparent;
}

.reel.completed::after {
  width: 60%;
  background: var(--color-gold-dark);
}

.reel.completed .reel-number,
.reel.completed .reel-label {
  color: var(--color-gold-dark);
}

.reel.completed .reel-label::after {
  content: ' \2713';
  color: var(--color-green);
}

/* ---------- Form Container ---------- */
.form-container {
  width: 100%;
  max-width: 580px;
  position: relative;
  min-height: 400px;
}

/* ---------- Steps ---------- */
.step {
  display: none;
  width: 100%;
}

.step.step-active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

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

.step-exit-left {
  animation: slideOutLeft 0.4s ease forwards;
}

.step-exit-right {
  animation: slideOutRight 0.4s ease forwards;
}

.step-enter-right {
  animation: slideInRight 0.45s ease forwards;
}

.step-enter-left {
  animation: slideInLeft 0.45s ease forwards;
}

@keyframes slideOutLeft {
  to { transform: translateX(-60px); opacity: 0; }
}

@keyframes slideOutRight {
  to { transform: translateX(60px); opacity: 0; }
}

@keyframes slideInRight {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---------- Card Component ---------- */
.card {
  background: linear-gradient(165deg, rgba(20, 20, 20, 0.85) 0%, rgba(26, 26, 26, 0.8) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-gray-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.5;
}

.card-red {
  background: linear-gradient(165deg, rgba(70, 0, 0, 0.95) 0%, rgba(30, 0, 0, 0.9) 100%);
  border: 3px solid #8B0000;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: visible;
  box-shadow:
    inset 0 0 30px rgba(139, 0, 0, 0.3),
    0 0 15px rgba(139, 0, 0, 0.2);
}

.card-red::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  background-image:
    radial-gradient(circle 4px at 12px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 36px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 60px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 84px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 108px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 132px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 156px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 180px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 204px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 228px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 252px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 276px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 300px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 324px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 348px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 372px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 396px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 420px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 444px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 468px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 492px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 516px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 540px 0px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 564px 0px, #FFD700 70%, transparent 100%),
    /* Bottom */
    radial-gradient(circle 4px at 12px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 36px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 60px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 84px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 108px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 132px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 156px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 180px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 204px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 228px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 252px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 276px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 300px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 324px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 348px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 372px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 396px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 420px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 444px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 468px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 492px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 516px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 540px 100%, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 564px 100%, #FFD700 70%, transparent 100%);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
  animation: marquee-blink 1.5s ease-in-out infinite alternate;
}

.card-red::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  background-image:
    /* Left side */
    radial-gradient(circle 4px at 0px 15px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 0px 39px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 0px 63px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 0px 87px, #FFD700 70%, transparent 100%),
    /* Right side */
    radial-gradient(circle 4px at 100% 15px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 100% 39px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 100% 63px, #FFD700 70%, transparent 100%),
    radial-gradient(circle 4px at 100% 87px, #FFD700 70%, transparent 100%);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
  animation: marquee-blink 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes marquee-blink {
  0% { opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
  50% { opacity: 0.6; filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
  100% { opacity: 1; filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.card-red .section-header {
  margin-bottom: 0;
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
  margin-bottom: var(--space-xs);
}

.section-header p {
  font-size: 0.9rem;
  color: var(--color-white-dim);
}

/* ---------- Form Labels (Filmy Dialogues) ---------- */
.label-filmy {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gold-light);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.label-filmy .required-star {
  color: var(--color-red-light);
  margin-left: 4px;
}

.label-sublabel {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold);
  font-style: italic;
  margin-top: var(--space-xs);
}

/* ---------- Text Input (Cinema Style) ---------- */
.input-cinema {
  width: 100%;
  background: var(--color-black-input);
  border: none;
  border-bottom: 2px solid var(--color-gray-dark);
  padding: var(--space-md) var(--space-sm);
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
}

.input-cinema::placeholder {
  color: var(--color-gray);
  font-style: italic;
  font-size: 0.95rem;
}

.input-cinema:focus {
  border-bottom-color: var(--color-gold);
  box-shadow: 0 2px 20px var(--color-gold-glow), 0 0 40px rgba(212, 168, 67, 0.08);
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.04) 0%, var(--color-black-input) 100%);
  animation: input-sparkle-glow 2s ease-in-out infinite;
}

@keyframes input-sparkle-glow {
  0%, 100% {
    box-shadow: 0 2px 20px rgba(212, 168, 67, 0.3), 0 0 40px rgba(212, 168, 67, 0.08);
    border-bottom-color: var(--color-gold);
  }
  50% {
    box-shadow: 0 2px 30px rgba(212, 168, 67, 0.5), 0 0 60px rgba(212, 168, 67, 0.15);
    border-bottom-color: var(--color-gold-light);
  }
}

/* Sparkle particles on input wrapper */
.input-sparkle-wrap {
  position: relative;
  overflow: visible;
}

.input-with-icon {
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  font-size: 1.2rem;
  margin-right: var(--space-sm);
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.input-with-icon:has(.input-cinema:focus) .input-icon {
  opacity: 1;
}

.input-with-icon .input-cinema {
  flex: 1;
}


/* ---------- Ticket Stub Buttons (Yes/No) ---------- */
.ticket-stubs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.ticket-stub {
  flex: 1;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--color-gray-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  background:
    radial-gradient(circle 8px at 0% 50%, var(--color-black) 98%, transparent 100%),
    radial-gradient(circle 8px at 100% 50%, var(--color-black) 98%, transparent 100%),
    var(--color-black-card);
  transition: all var(--transition-base);
  overflow: hidden;
}

/* Inner dashed ticket frame */
.ticket-stub::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 14px;
  right: 14px;
  bottom: 6px;
  border: 1px dashed rgba(100, 100, 100, 0.25);
  border-radius: 3px;
  pointer-events: none;
  transition: border-color var(--transition-base);
}

.ticket-stub::after {
  display: none;
}

.ticket-stub:hover {
  border-color: var(--color-gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.ticket-stub:hover::before {
  border-color: rgba(212, 168, 67, 0.25);
}

.ticket-stub.selected {
  border-color: var(--color-gold);
  background:
    radial-gradient(circle 8px at 0% 50%, var(--color-black) 98%, transparent 100%),
    radial-gradient(circle 8px at 100% 50%, var(--color-black) 98%, transparent 100%),
    linear-gradient(135deg, rgba(212, 168, 67, 0.12) 0%, var(--color-black-card) 100%);
  box-shadow: 0 0 25px rgba(212, 168, 67, 0.3), 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px) scale(1.02);
}

.ticket-stub.selected::before {
  border-color: rgba(212, 168, 67, 0.35);
}

.ticket-stub.selected-yes {
  border-color: var(--color-gold);
  animation: yes-glow 2s ease-in-out infinite;
}

@keyframes yes-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 67, 0.25); }
  50% { box-shadow: 0 0 35px rgba(212, 168, 67, 0.45), 0 0 60px rgba(212, 168, 67, 0.1); }
}

.ticket-stub.selected-no {
  border-color: var(--color-gray);
  opacity: 0.7;
}

.ticket-stub input[type="radio"],
.ticket-stub input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.stub-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-xs);
  transition: transform var(--transition-bounce);
}

.ticket-stub:hover .stub-icon {
  transform: scale(1.2);
}

.ticket-stub.selected .stub-icon {
  animation: icon-bounce 0.5s ease-out;
}

@keyframes icon-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1.15); }
}

.stub-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
}

.stub-subtext {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: var(--space-xs);
}

/* Selected stamp */
.ticket-stub .selected-stamp {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: all var(--transition-bounce);
}

.ticket-stub.selected .selected-stamp {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ---------- Option Cards Grid (Class/Faculty) ---------- */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-md);
}

.option-card {
  position: relative;
  cursor: pointer;
  border: none;
  border-radius: 0;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  background: var(--color-black-card);
  transition: all var(--transition-base);
  overflow: visible;
  /* Ticket shape with side cutouts */
  -webkit-mask-image:
    radial-gradient(circle 8px at 0% 50%, transparent 95%, black 100%),
    radial-gradient(circle 8px at 100% 50%, transparent 95%, black 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 8px at 0% 50%, transparent 95%, black 100%),
    radial-gradient(circle 8px at 100% 50%, transparent 95%, black 100%);
  mask-composite: intersect;
  clip-path: polygon(
    0% 10%, 0% 0%, 10% 0%, 90% 0%, 100% 0%, 100% 10%,
    100% 38%, 98% 42%, 98% 46%, 100% 50%,
    98% 54%, 98% 58%, 100% 62%,
    100% 90%, 100% 100%, 90% 100%, 10% 100%, 0% 100%, 0% 90%,
    0% 62%, 2% 58%, 2% 54%, 0% 50%,
    2% 46%, 2% 42%, 0% 38%
  );
}

.option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-gray-dark);
  clip-path: inherit;
  pointer-events: none;
  transition: border-color var(--transition-base);
}

.option-card::after {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 14px;
  right: 14px;
  border: 1px dashed rgba(100, 100, 100, 0.3);
  border-radius: 2px;
  pointer-events: none;
  transition: border-color var(--transition-base);
}

.option-card:hover {
  background: linear-gradient(165deg, rgba(212, 168, 67, 0.06) 0%, var(--color-black-card) 100%);
  transform: translateY(-3px);
  filter: drop-shadow(0 4px 12px rgba(212, 168, 67, 0.15));
}

.option-card:hover::before {
  border-color: var(--color-gold-dark);
}

.option-card:hover::after {
  border-color: rgba(212, 168, 67, 0.25);
}

.option-card.selected {
  background: linear-gradient(165deg, rgba(212, 168, 67, 0.1) 0%, rgba(20, 20, 20, 0.95) 100%);
  filter: drop-shadow(0 4px 20px rgba(212, 168, 67, 0.3));
  transform: translateY(-3px) scale(1.02);
}

.option-card.selected::before {
  border-color: var(--color-gold);
}

.option-card.selected::after {
  border-color: rgba(212, 168, 67, 0.35);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.option-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-white);
  display: block;
}

.option-subtitle {
  font-size: 0.75rem;
  color: var(--color-gold);
  font-style: italic;
  margin-top: 2px;
  display: block;
}

.option-card .selected-stamp {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: all var(--transition-bounce);
}

.option-card.selected .selected-stamp {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ---------- Food Menu Cards ---------- */
.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.food-card {
  position: relative;
  cursor: pointer;
  border: 2px solid var(--color-gray-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg) var(--space-md) 3rem;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background:
    radial-gradient(circle 10px at 0% 50%, var(--color-black) 98%, transparent 100%),
    radial-gradient(circle 10px at 100% 50%, var(--color-black) 98%, transparent 100%),
    var(--color-black-card);
  transition: all var(--transition-base);
  overflow: hidden;
}

/* Dashed tear line on left */
.food-card::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px;
  width: 0;
  border-left: 2px dashed rgba(100, 100, 100, 0.35);
  pointer-events: none;
  transition: border-color var(--transition-base);
}

.food-card.hero-combo {
  background:
    radial-gradient(circle 10px at 0% 50%, var(--color-black) 98%, transparent 100%),
    radial-gradient(circle 10px at 100% 50%, var(--color-black) 98%, transparent 100%),
    linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, var(--color-black-card) 100%);
  border-color: var(--color-red);
  padding: var(--space-lg) var(--space-lg) var(--space-lg) 3rem;
}

.food-card.hero-combo .food-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-black);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
  z-index: 2;
}

.food-card:hover {
  border-color: var(--color-gold-dark);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

.food-card:hover::before {
  border-color: rgba(212, 168, 67, 0.3);
}

.food-card.selected {
  border-color: var(--color-gold);
  background:
    radial-gradient(circle 10px at 0% 50%, var(--color-black) 98%, transparent 100%),
    radial-gradient(circle 10px at 100% 50%, var(--color-black) 98%, transparent 100%),
    linear-gradient(135deg, rgba(212, 168, 67, 0.1) 0%, var(--color-black-card) 100%);
  box-shadow: var(--shadow-gold-strong);
}

.food-card.selected::before {
  border-color: rgba(212, 168, 67, 0.4);
}

.food-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.food-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.food-info {
  flex: 1;
}

.food-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-white);
}

.food-desc {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: 2px;
}

.food-card .selected-stamp {
  position: absolute;
  top: 50%;
  right: var(--space-md);
  transform: translateY(-50%) scale(0);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  transition: all var(--transition-bounce);
}

.food-card.selected .selected-stamp {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Food price tag */
.food-price {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold-light);
  text-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
}

/* Food prebook note */
.food-note {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--color-gold-subtle);
  border: 1px dashed var(--color-gold-dark);
  border-radius: var(--radius-md);
  text-align: center;
}

.food-note p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  color: var(--color-black);
  box-shadow: 0 0 15px var(--color-gold-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--color-gold-glow), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  animation: none;
  transform: none;
  box-shadow: none;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px var(--color-gold-glow); }
  50% { box-shadow: 0 0 30px var(--color-gold-glow), 0 0 60px rgba(212, 168, 67, 0.1); }
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold-dark);
}

.btn-outline:hover {
  background: rgba(212, 168, 67, 0.08);
  border-color: var(--color-gold);
}

.btn-red {
  background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
  color: var(--color-white);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--color-red-glow);
}

/* ---------- Navigation Row ---------- */
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  gap: var(--space-md);
}

.nav-row .btn {
  min-width: 140px;
}

/* ---------- Loading Spinner (Film Reel) ---------- */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: var(--color-black);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Confirmation Step ---------- */
/* Confirmation card override — cinema celebration style */
.step[data-step="3"] .card {
  background: linear-gradient(165deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 2px solid var(--color-gold-dark);
  position: relative;
  overflow: visible;
  box-shadow:
    0 0 30px rgba(212, 168, 67, 0.1),
    inset 0 0 60px rgba(212, 168, 67, 0.03);
}

/* Inner gold dashed frame */
.step[data-step="3"] .card::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(212, 168, 67, 0.25);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.confirmation-container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.confirmation-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--color-gold-light);
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.5);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.confirmation-subtitle {
  font-size: 0.95rem;
  color: var(--color-white-dim);
  margin-bottom: var(--space-lg);
}

.ticket-canvas-wrapper {
  margin: var(--space-lg) auto;
  max-width: 500px;
  border: none;
  background: transparent;
  position: relative;
}

.ticket-canvas-wrapper canvas {
  width: 100%;
  height: auto;
  display: block;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
  fill: #fff;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

/* ---------- Confetti ---------- */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  opacity: 0;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}

/* ---------- Toast Messages ---------- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-black-light);
  border: 1px solid var(--color-gold-dark);
  color: var(--color-white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s ease;
}

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

/* ---------- Error State ---------- */
.input-error {
  border-bottom-color: var(--color-red-light) !important;
}

.error-message {
  color: var(--color-red-light);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  display: none;
}

.error-message.visible {
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  color: var(--color-gray);
  font-size: 0.75rem;
}

.footer a {
  color: var(--color-gold-dark);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .logos-row {
    gap: var(--space-md);
  }

  .logos-row img {
    height: 35px;
  }

  .logos-row img.logo-aakriti {
    height: 70px;
  }

  .card {
    padding: var(--space-lg) var(--space-md);
  }

  .options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .ticket-stubs {
    grid-template-columns: repeat(2, 1fr);
  }

  .confirmation-title {
    font-size: 1.15rem;
  }

  .nav-row .btn {
    min-width: 120px;
    font-size: 0.85rem;
    padding: var(--space-sm) var(--space-md);
  }

  .reel-label {
    font-size: 0.65rem;
  }

  .reel-number {
    font-size: 0.55rem;
  }

  .reel {
    padding: var(--space-sm) var(--space-xs);
  }

  .section-header h2 {
    font-size: 0.95rem;
  }

  .label-filmy {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
}

@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .food-card.hero-combo {
    grid-column: 1 / -1;
  }

  .poster-hero {
    max-width: 420px;
  }

  .confirmation-title {
    font-size: 1.6rem;
  }
}

/* ---------- Staggered Reveal ---------- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.24s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
