/* ============================================
   GAME ON · FUN FOOD FRIENDS
   Brand stylesheet
   Aesthetic: modern retro arcade meets neighborhood warmth
   ============================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors pulled from the logo */
  --navy: #1B3B6F;
  --navy-deep: #0F2249;
  --navy-soft: #2D4E80;
  --orange: #F37F20;
  --orange-bright: #FF8E2E;
  --orange-deep: #D96A12;
  --red: #E63946;
  --green: #6DBE45;
  --cyan: #36C6DD; /* arcade-blue ghost — reads on both cream and navy */

  /* Neutrals */
  --cream: #FFF8E7;
  --cream-warm: #FFFCF5;
  --ink: #0F1A2E;
  --ink-soft: #1F2A40;
  --paper: #FFFFFF;
  --line: rgba(15, 26, 46, 0.12);
  --line-soft: rgba(15, 26, 46, 0.06);

  /* Type scale */
  --font-display: "Bungee", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  /* Effects */
  --shadow-card: 0 4px 0 rgba(15, 26, 46, 0.08), 0 24px 48px -16px rgba(15, 26, 46, 0.18);
  --shadow-chunky: 6px 6px 0 var(--ink);
  --shadow-chunky-orange: 6px 6px 0 var(--orange);
  --radius: 18px;
  --radius-lg: 28px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ---------- Scanline overlay (subtle CRT feel) ---------- */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(15, 26, 46, 0.018) 3px,
    rgba(15, 26, 46, 0.018) 4px
  );
  mix-blend-mode: multiply;
}

/* ---------- Scroll sprite layer (arcade animations) ---------- */
/* Pixel-style sprites float across the screen as the user scrolls,
   anchored to fixed position so they appear to drift over the content. */
.sprite-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* z-index 1 keeps sprites above the section backgrounds but below content.
     Page content is raised to z-index 2 (see "content above sprites" rule),
     so sprites drift behind the text and cards instead of over them. */
  z-index: 1;
  overflow: hidden;
}
.sprite {
  position: absolute;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  /* Subtle outline so each sprite reads cleanly on any background color */
  filter: drop-shadow(0 1.5px 0 rgba(15, 26, 46, 0.22));
}
.sprite.show { opacity: 0.9; }

/* Content above sprites — these wrappers sit on z-index 2 so the drifting
   sprites pass behind them while still showing over the section backgrounds.
   The section elements themselves stay unpositioned so their opaque
   backgrounds remain below the sprite layer. */
.section-head,
.play__grid,
.prelaunch-banner,
.passes__grid,
.passes__note,
.events__layout,
.story__grid,
.contact__layout,
.hero__marquee,
.footer__top,
.footer__bottom {
  position: relative;
  z-index: 2;
}

/* Individual sprite designs using CSS box-shadow pixel art technique */
.sprite--ghost {
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 12px 12px 4px 4px;
  position: absolute;
}
.sprite--ghost::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 5px;
  background:
    radial-gradient(circle at 4px 0, var(--red) 3px, transparent 3px),
    radial-gradient(circle at 12px 0, var(--red) 3px, transparent 3px),
    radial-gradient(circle at 20px 0, var(--red) 3px, transparent 3px);
}
.sprite--ghost::after {
  content: '';
  position: absolute;
  top: 7px; left: 5px;
  width: 5px; height: 7px;
  background: white;
  border-radius: 50%;
  box-shadow: 9px 0 0 white, 2px 2px 0 var(--ink), 11px 2px 0 var(--ink);
}

.sprite--ghost-blue { background: var(--cyan); }
.sprite--ghost-blue::before {
  background:
    radial-gradient(circle at 4px 0, var(--cyan) 3px, transparent 3px),
    radial-gradient(circle at 12px 0, var(--cyan) 3px, transparent 3px),
    radial-gradient(circle at 20px 0, var(--cyan) 3px, transparent 3px);
}

.sprite--pacman {
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 50%;
  clip-path: polygon(50% 50%, 100% 25%, 100% 0, 0 0, 0 100%, 100% 100%, 100% 75%);
}

.sprite--coin {
  width: 22px; height: 22px;
  background: radial-gradient(circle, #FFD700 60%, var(--orange-deep) 60%);
  border-radius: 50%;
  border: 2px solid var(--ink);
  animation: coin-spin 1s linear infinite;
}
@keyframes coin-spin {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.3); }
}

.sprite--star {
  width: 24px; height: 24px;
  background: var(--green);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  background: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 52px; width: auto; }
.nav__links {
  display: flex; gap: 2rem; align-items: center;
  font-weight: 500; font-size: 15px;
}
.nav__links a { transition: color 0.2s; }
.nav__links a:not(.nav__cta):hover { color: var(--orange); }
.nav__cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.nav__cta:hover { background: var(--orange); transform: translateY(-1px); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  overflow: hidden;
  min-height: 90vh;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27, 59, 111, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 59, 111, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center 30%, black 30%, transparent 75%);
}
.hero__shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; }
.shape--joystick {
  top: 12%; right: 8%;
  width: 90px; height: 90px;
  background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 0 12px var(--cream), 0 0 0 14px var(--orange), 0 30px 0 -8px var(--orange);
  opacity: 0.85;
  animation: float-y 6s ease-in-out infinite;
}
.shape--target {
  bottom: 18%; left: 5%;
  width: 100px; height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--red) 22%, var(--cream) 22%, var(--cream) 38%, var(--red) 38%, var(--red) 54%, var(--cream) 54%, var(--cream) 70%, var(--red) 70%);
  opacity: 0.75;
  animation: float-y 7s ease-in-out infinite reverse;
}
.shape--paddle {
  top: 50%; right: 4%;
  width: 70px; height: 70px;
  background: var(--red); border-radius: 50%;
  opacity: 0.6;
  animation: float-x 8s ease-in-out infinite;
}
.shape--pixel { width: 18px; height: 18px; }
.pixel-1 { top: 28%; left: 12%; background: var(--green); animation: blink 3s infinite; }
.pixel-2 { top: 65%; right: 22%; background: var(--orange); animation: blink 3s infinite 0.5s; }
.pixel-3 { top: 40%; left: 18%; background: var(--red); animation: blink 3s infinite 1s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
@keyframes float-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-15px); }
}
@keyframes blink {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0.2; }
}

.hero__content {
  position: relative; z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 2rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(109, 190, 69, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 190, 69, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(109, 190, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 190, 69, 0); }
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 1.5rem;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  color: var(--orange);
  font-style: italic;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}

.hero__cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1.5px dashed var(--line);
  margin-bottom: 4rem;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.stat__divider {
  width: 1px; height: 36px;
  background: var(--line);
}

/* Marquee at hero bottom */
.hero__marquee {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  padding: 1.25rem 0;
  background: var(--navy);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: 0.08em;
  overflow: hidden;
  white-space: nowrap;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  padding-right: 3rem;
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border-radius: 14px;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.2s;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.btn--primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow-chunky);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--orange-bright);
}
.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn--ghost {
  background: var(--paper);
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
}
.btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--navy);
  background: var(--navy);
  color: var(--cream);
}
.btn--full { width: 100%; }

.btn--coming-soon {
  background: var(--cream-warm);
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  box-shadow: none;
  cursor: not-allowed;
  width: 100%;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
}
.btn--coming-soon:disabled { opacity: 1; }
.coming-soon-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--cream);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-label {
  font-size: 14px;
  color: var(--ink-soft);
}
.btn--coming-soon-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.btn--coming-soon-featured .btn-label { color: var(--cream); }
.btn--coming-soon-large { padding: 1rem 2rem; max-width: 320px; }

/* ============================================
   SECTION HEADS
   ============================================ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--section-y);
  padding-top: var(--section-y);
}
.section-head__kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-head__kicker--light { color: var(--orange-bright); }
.kicker-bar {
  width: 32px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.section-head__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.section-head__sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin: 0;
}

/* ============================================
   PLAY (What's Inside) - 3 cols × 2 rows
   ============================================ */
.play {
  padding: 0 var(--gutter) var(--section-y);
  background: var(--cream);
}
.play__grid {
  display: grid;
  /* Forces a strict 3-column layout on desktop, drops to 2 on tablet, 1 on mobile */
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.play-card {
  background: var(--paper);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-chunky);
  transition: transform 0.2s, box-shadow 0.2s;
}
.play-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.play-card__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.play-card__icon svg { width: 44px; height: 44px; }
.play-card--arcade .play-card__icon { background: rgba(243, 127, 32, 0.15); color: var(--orange); }
.play-card--pool .play-card__icon { background: rgba(27, 59, 111, 0.12); color: var(--navy); }
.play-card--pingpong .play-card__icon { background: rgba(230, 57, 70, 0.12); color: var(--red); }
.play-card--food .play-card__icon { background: rgba(109, 190, 69, 0.18); color: var(--green); }
.play-card--space .play-card__icon { background: rgba(243, 127, 32, 0.15); color: var(--orange); }
.play-card--vibe .play-card__icon { background: rgba(27, 59, 111, 0.12); color: var(--navy); }

.play-card h3 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.play-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
}

/* ============================================
   PASSES
   ============================================ */
.passes {
  padding: 0 var(--gutter) var(--section-y);
  background: var(--navy);
  color: var(--cream);
  position: relative;
}
.passes .section-head__title { color: var(--cream); }
.passes .section-head__sub { color: rgba(255, 248, 231, 0.75); }
/* Pull the banner up closer to the heading instead of a full section gap */
.passes .section-head { margin-bottom: 3rem; }

/* Pre-launch banner above the pass cards — arcade "marquee notice" callout.
   A contained panel (not full-width text) that matches the chunky card language
   used elsewhere: ink border, offset shadow, and the pixel accent stripe. */
.prelaunch-banner {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--navy-deep);
  border: 2px solid var(--orange);
  border-radius: 16px;
  box-shadow: 6px 6px 0 rgba(15, 26, 46, 0.55);
  position: relative;
  overflow: hidden;
}
/* Pixel accent stripe across the top, echoing the pass cards */
.prelaunch-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0, var(--orange) 10px,
    var(--navy-soft) 10px, var(--navy-soft) 20px,
    var(--red) 20px, var(--red) 30px,
    var(--green) 30px, var(--green) 40px
  );
}
/* Icon sits in a chunky orange badge like the event-type tiles */
.prelaunch-banner__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.prelaunch-banner__icon svg { width: 26px; height: 26px; }
.prelaunch-banner__text { min-width: 0; }
/* Bungee kicker ties it to the marquee / footer headings */
.prelaunch-banner__kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--orange-bright);
  margin-bottom: 0.35rem;
}
.prelaunch-banner__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 248, 231, 0.88);
}

.passes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Arcade "character select" panels */
.pass-card {
  background: var(--cream-warm);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem 2rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-chunky);
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
/* Pixel accent bar across the top of each card */
.pass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0, var(--orange) 10px,
    var(--navy) 10px, var(--navy) 20px,
    var(--red) 20px, var(--red) 30px,
    var(--green) 30px, var(--green) 40px
  );
  opacity: 0.85;
  /* Round the stripe's top corners so it stays tucked inside the card,
     even on the featured card where overflow is allowed to show. */
  border-radius: var(--radius) var(--radius) 0 0;
}
.pass-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

/* "Player number" chip in the corner */
.pass-card__rank {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.1rem 0.45rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
}

/* Character avatar */
.pass-card__avatar {
  width: 78px; height: 78px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-bottom: 1.1rem;
  background: var(--paper);
}
.pass-card__avatar svg { width: 46px; height: 46px; }
.pass-card--daypass .pass-card__avatar { color: var(--orange); background: rgba(243, 127, 32, 0.12); }
.pass-card--month1 .pass-card__avatar { color: var(--navy); background: rgba(27, 59, 111, 0.10); }
.pass-card--month3 .pass-card__avatar { color: var(--red); background: rgba(230, 57, 70, 0.12); }
.pass-card--yearly .pass-card__avatar { color: var(--green); background: rgba(109, 190, 69, 0.15); }

.pass-card__features { text-align: left; width: 100%; }

/* Featured "Player's Pick" card glows and sits forward.
   overflow: visible lets the badge sit fully on top of the card instead of
   being clipped by the card edge (the base .pass-card uses overflow: hidden). */
.pass-card--featured {
  background: var(--paper);
  transform: scale(1.045);
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 127, 32, 0.18), 8px 8px 0 var(--ink);
  animation: featured-glow 2.4s ease-in-out infinite;
  overflow: visible;
}
/* Give the featured badge breathing room so it reads as a header, not a notch */
.pass-card--featured { padding-top: 2.75rem; }
.pass-card--featured .pass-card__badge { top: -16px; }
.pass-card--featured:hover {
  transform: scale(1.045) translate(-3px, -3px);
  box-shadow: 0 0 0 4px rgba(243, 127, 32, 0.28), 11px 11px 0 var(--ink);
}
@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(243, 127, 32, 0.18), 8px 8px 0 var(--ink); }
  50% { box-shadow: 0 0 0 7px rgba(243, 127, 32, 0.30), 8px 8px 0 var(--ink); }
}
.pass-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--cream);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  white-space: nowrap;
  z-index: 2;
}
.pass-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.pass-card__name {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.pass-card__tagline {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  font-style: italic;
  min-height: 2.5em;
}
.pass-card__features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  flex: 1;
}
.pass-card__features li {
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.pass-card__features li:last-child { border-bottom: none; }
.pass-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(109, 190, 69, 0.2);
}

.passes__note {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 700px;
  font-size: 15px;
  color: rgba(255, 248, 231, 0.85);
  line-height: 1.6;
}
.passes__note a {
  color: var(--orange-bright);
  border-bottom: 1px solid var(--orange-bright);
  font-weight: 600;
}
.passes__note a:hover { color: var(--cream); border-color: var(--cream); }

/* ============================================
   EVENTS
   ============================================ */
.events {
  padding: var(--section-y) var(--gutter);
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}
.events__layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.events__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: var(--navy);
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.events__lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
  line-height: 1.55;
}
.events__types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.event-type {
  display: flex; gap: 1rem;
  align-items: flex-start;
}
.event-type__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.event-type h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
  color: var(--navy);
}
.event-type p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.events__inline-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-style: italic;
}

/* Cake SVG illustration */
.events__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.cake-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(6px 8px 0 rgba(15, 26, 46, 0.15));
}
.cake-flame-svg {
  transform-origin: center 33px;
  animation: cake-flicker 0.6s ease-in-out infinite alternate;
}
.cake-flame-svg--inner {
  animation: cake-flicker 0.4s ease-in-out infinite alternate;
}
@keyframes cake-flicker {
  0% { transform: scale(1, 1) translateY(0); opacity: 1; }
  100% { transform: scale(1.08, 0.94) translateY(-1px); opacity: 0.9; }
}

.confetti {
  position: absolute;
  width: 14px; height: 14px;
  z-index: 1;
}
.confetti-1 { top: 10%; left: 15%; background: var(--red); transform: rotate(20deg); animation: float-y 3s ease-in-out infinite; }
.confetti-2 { top: 20%; right: 10%; background: var(--green); border-radius: 50%; animation: float-y 4s ease-in-out infinite 0.5s; }
.confetti-3 { bottom: 25%; left: 8%; background: var(--orange); transform: rotate(45deg); animation: float-y 3.5s ease-in-out infinite 1s; }
.confetti-4 { bottom: 15%; right: 18%; background: var(--navy); border-radius: 50%; animation: float-y 4.5s ease-in-out infinite 0.3s; }
.confetti-5 { top: 50%; right: 5%; background: var(--red); transform: rotate(60deg); animation: float-y 3.2s ease-in-out infinite 0.8s; }
.confetti-6 { top: 35%; left: 6%; background: var(--green); transform: rotate(-30deg); animation: float-y 3.8s ease-in-out infinite 0.6s; }
.confetti-7 { top: 5%; right: 30%; background: var(--orange); border-radius: 50%; animation: float-y 4.2s ease-in-out infinite 1.2s; }

/* ============================================
   STORY
   ============================================ */
.story {
  padding: var(--section-y) var(--gutter);
  background: var(--cream);
}
.story__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}
.story__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin: 1rem 0 1.75rem;
  letter-spacing: -0.02em;
}
.story__text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.story__text strong {
  color: var(--navy);
  font-weight: 700;
}
.story__values {
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-chunky);
}
.story__values-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px dashed var(--line);
}
.value {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}
.value:last-child { border-bottom: none; padding-bottom: 0; }
.value__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1.2;
}
.value h4 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
  color: var(--navy);
}
.value p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-y) var(--gutter);
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(243, 127, 32, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 57, 70, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.contact__layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: var(--cream);
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.contact__lead {
  font-size: 1.15rem;
  color: rgba(255, 248, 231, 0.85);
  margin: 0 0 2.5rem;
}
.contact__info { display: grid; gap: 1.5rem; }
.info-block__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 0.35rem;
}
.info-block__value { font-size: 16px; line-height: 1.5; }
.info-block__value a { color: var(--cream); border-bottom: 1px solid rgba(255, 248, 231, 0.3); }
.info-block__value a:hover { color: var(--orange-bright); border-color: var(--orange-bright); }

/* Embedded contact form — framed to match the chunky brand cards so the
   third-party iframe sits comfortably on the navy section. */
.contact__embed {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}
.contact__embed iframe {
  display: block;
  width: 100%;
  /* Fallback height before the embed script measures the real form */
  min-height: 676px;
  border: none;
  border-radius: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem var(--gutter) 1.5rem;
}
.footer__top {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
}
.footer__brand p {
  color: rgba(255, 248, 231, 0.7);
  font-size: 15px;
  max-width: 320px;
  margin: 1.25rem 0 0.75rem;
}
.footer__logo {
  /* Larger hero logo in the footer */
  height: 150px;
  width: auto;
}
.footer__address {
  /* Bigger and more legible, but tuned to match the footer's cream tone */
  color: rgba(255, 248, 231, 0.78);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  margin-top: 0.75rem;
}
.footer__address a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer__address a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--orange);
  margin: 0 0 1rem;
  letter-spacing: 0.08em;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li {
  padding: 0.35rem 0;
  font-size: 14px;
  color: rgba(255, 248, 231, 0.7);
}
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 248, 231, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 13px;
  color: rgba(255, 248, 231, 0.5);
}
.footer__credit-link {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer__credit-link:hover {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}

/* ============================================
   RESPONSIVE — Tablet (768-1024) and Mobile
   ============================================ */

/* Tablet — adjust play grid and pass grid to 2 columns */
@media (max-width: 1024px) {
  .play__grid { grid-template-columns: repeat(2, 1fr); }
  .passes__grid { grid-template-columns: repeat(2, 1fr); }
  .pass-card--featured { transform: none; }
  .pass-card--featured:hover { transform: translateY(-4px); }
  .events__layout { grid-template-columns: 1fr 0.85fr; gap: 3rem; }
}

/* Tablet portrait and below — nav drawer, stacked layouts */
@media (max-width: 900px) {
  .nav { padding: 0.75rem var(--gutter); }
  .nav__logo { height: 44px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream-warm);
    padding: 1.5rem var(--gutter);
    border-bottom: 2px solid var(--ink);
    gap: 1.25rem;
    align-items: flex-start;
  }
  .events__layout,
  .story__grid,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .events__visual { max-width: 320px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__logo { height: 130px; }
  .hero__shapes .shape--joystick { width: 70px; height: 70px; right: 4%; top: 8%; }
  .hero__shapes .shape--target { width: 80px; height: 80px; }
  .hero__shapes .shape--paddle { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .events__types { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .stat__divider { display: none; }
  .hero__stats { gap: 1.25rem; }
  .contact__embed { padding: 0.5rem; }
  .play__grid { grid-template-columns: 1fr; }
  .passes__grid { grid-template-columns: 1fr; }
  .prelaunch-banner { flex-direction: column; text-align: center; padding: 1rem; }
  .footer__logo { height: 110px; }
  .nav__logo { height: 38px; }
  .play-card, .pass-card { padding: 1.5rem 1.25rem; }
  .contact { padding-left: 1rem; padding-right: 1rem; }
  .story__values { padding: 1.5rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .hero__title { font-size: 2rem; }
  .hero__badge { font-size: 11px; padding: 0.4rem 0.9rem; }
  .contact__embed { padding: 0.5rem; box-shadow: 4px 4px 0 var(--orange); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sprite-layer { display: none; }
}
