/* =========================================================
   Bullapalooza — Polished marketing site
   ========================================================= */

:root {
  --red: #c41e3a;
  --red-hot: #ef3340;
  --red-deep: #8b1528;
  --cream: #faf6f0;
  --cream-dark: #efe4d4;
  --ink: #140f0c;
  --ink-soft: #3a2f28;
  --muted: #6f5f52;
  --gold: #f0b429;
  --gold-soft: #f7d070;
  --white: #ffffff;
  --glass: rgba(255, 248, 240, 0.08);
  --line: rgba(26, 20, 16, 0.08);
  --line-light: rgba(255, 248, 240, 0.12);
  --shadow: 0 24px 60px rgba(20, 15, 12, 0.18);
  --shadow-soft: 0 12px 32px rgba(20, 15, 12, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1200px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

::selection {
  background: rgba(196, 30, 58, 0.22);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(105deg, var(--red-hot), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-red {
  color: var(--red);
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(16, 12, 10, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(255, 248, 240, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100%;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.site-header:not(.scrolled) .brand {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

.nav a {
  color: rgba(255, 248, 240, 0.86);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: rgba(255, 248, 240, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep)) !important;
  color: var(--white) !important;
  margin-left: 0.4rem;
  padding: 0.55rem 1.15rem !important;
  box-shadow: 0 8px 22px rgba(196, 30, 58, 0.4);
}

.nav-cta:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep)) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red-hot) 0%, var(--red) 50%, var(--red-deep) 100%);
  color: var(--white);
  box-shadow:
    0 12px 28px rgba(196, 30, 58, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow:
    0 16px 36px rgba(196, 30, 58, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  background: rgba(255, 248, 240, 0.08);
  color: var(--white);
  border-color: rgba(255, 248, 240, 0.28);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 248, 240, 0.16);
  border-color: rgba(255, 248, 240, 0.45);
}

.btn-secondary {
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
}

.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1.02rem;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-shine:hover::after {
  transform: translateX(120%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-h) + 2.5rem) 1.5rem 5.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  animation: kenburns 22s ease-in-out infinite alternate;
  filter: saturate(1.12) contrast(1.05);
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.5%, -1%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 38%, rgba(20, 15, 12, 0.15), rgba(20, 15, 12, 0.72) 70%),
    linear-gradient(180deg, rgba(20, 15, 12, 0.55) 0%, rgba(20, 15, 12, 0.25) 35%, rgba(20, 15, 12, 0.88) 100%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(90vw, 700px);
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(196, 30, 58, 0.28), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  animation: heroIn 1s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 248, 240, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.92);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 0 0 rgba(239, 51, 64, 0.6);
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 51, 64, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 51, 64, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 51, 64, 0);
  }
}

.hero-logo {
  width: min(90vw, 600px);
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 auto 1.75rem;
  max-width: 34em;
  color: rgba(255, 248, 240, 0.92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-tagline em {
  font-style: normal;
  color: var(--gold-soft);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 640px;
  margin-inline: auto;
}

.hero-stats li {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 248, 240, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}

.hero-stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 248, 240, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 248, 240, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 248, 240, 0.45);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 0.2;
    transform: translateY(10px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 3;
  background: var(--ink);
  color: var(--cream);
  border-block: 3px solid var(--red);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  align-items: center;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-track .dot {
  opacity: 0.85;
  font-size: 1rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem;
}

.section-head.light,
.lede.light {
  color: var(--cream);
}

.section-head.light .lede {
  color: rgba(255, 248, 240, 0.78);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.85rem;
  background: rgba(196, 30, 58, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 30, 58, 0.15);
}

.section-head.light .eyebrow {
  color: var(--gold);
  background: rgba(240, 180, 41, 0.12);
  border-color: rgba(240, 180, 41, 0.2);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  font-weight: 400;
}

.lede {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.7;
}

/* ---------- Game / features ---------- */
.section-game {
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(240, 180, 41, 0.1), transparent 55%),
    var(--cream);
}

.feature-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.feature-featured {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

.feature-featured .feature-media {
  flex: 1;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.feature-featured .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.feature-featured:hover .feature-media img {
  transform: scale(1.05);
}

.feature-featured .feature-body {
  padding: 1.4rem 1.35rem 1.55rem;
}

.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.45rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

.compare-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.7rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.compare-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}

.compare-chip {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.compare-result {
  background: linear-gradient(135deg, var(--red-hot), var(--red));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

.compare-op {
  font-weight: 800;
  color: var(--red);
  font-size: 1.1rem;
}

/* ---------- Roles ---------- */
.section-roles {
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(196, 30, 58, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 80%, rgba(240, 180, 41, 0.1), transparent 50%),
    linear-gradient(180deg, #120e0b 0%, #1c1511 50%, #120e0b 100%);
  color: var(--cream);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.role-card {
  background: rgba(255, 248, 240, 0.03);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 248, 240, 0.22);
}

.role-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.role-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.role-card:hover .role-media img {
  transform: scale(1.05);
}

.role-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(18, 14, 11, 0.55));
  pointer-events: none;
}

.role-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.bull-badge {
  background: var(--ink);
  color: var(--red-hot);
  border: 2px solid var(--red-hot);
}

.runner-badge {
  background: var(--cream);
  color: var(--red);
  border: 2px solid var(--cream);
}

.role-body {
  padding: 1.5rem 1.4rem 1.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.role-body h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.65rem;
  font-weight: 400;
  color: var(--gold-soft);
}

.role-body > p {
  margin: 0 0 1.15rem;
  color: rgba(255, 248, 240, 0.78);
  font-weight: 500;
}

.ability-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ability-list li {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--red);
}

.ability-name {
  font-weight: 800;
  color: var(--gold);
  font-size: 0.92rem;
}

.ability-desc {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.72);
  font-weight: 500;
}

.role-win {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.95rem;
  color: rgba(255, 248, 240, 0.78);
  font-weight: 500;
}

.role-win span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* ---------- Gallery ---------- */
.section-gallery {
  background:
    linear-gradient(180deg, var(--cream-dark), var(--cream));
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--white);
  background: var(--ink);
  isolation: isolate;
}

.g-hero {
  grid-row: 1 / span 2;
}

.g-wide {
  grid-column: 1 / -1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.5s var(--ease), filter 0.4s ease;
}

.g-hero img {
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.15rem 1rem;
  background: linear-gradient(transparent, rgba(16, 12, 10, 0.88));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gallery-item .cap-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.gallery-item strong {
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Characters ---------- */
.section-characters {
  background:
    radial-gradient(ellipse 55% 40% at 20% 15%, rgba(196, 30, 58, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 85%, rgba(240, 180, 41, 0.1), transparent 50%),
    #100c0a;
  color: var(--cream);
}

.cast-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.cast-card {
  margin: 0;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease);
}

.cast-card:hover {
  transform: translateY(-8px);
}

.cast-featured .cast-frame {
  box-shadow:
    0 24px 60px rgba(196, 30, 58, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(239, 51, 64, 0.35);
}

.cast-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #0a0807;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}

.cast-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 240, 0.06);
  pointer-events: none;
}

.cast-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

.cast-card:hover .cast-frame img {
  transform: scale(1.04);
}

.cast-card figcaption {
  padding: 1.15rem 0.35rem 0.25rem;
  text-align: center;
}

.cast-role {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}

.cast-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.cast-card figcaption > span:last-child {
  font-size: 0.92rem;
  color: rgba(255, 248, 240, 0.65);
  font-weight: 500;
}

/* role media portraits */
.role-bull .role-media img,
.role-runner .role-media img {
  object-position: center 20%;
}

.role-bull .role-media {
  aspect-ratio: 4 / 3;
}

/* ---------- World ---------- */
.section-world {
  background: var(--cream);
}

.world-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.world-copy .eyebrow {
  margin-bottom: 0.85rem;
}

.world-copy h2 {
  margin-bottom: 0.95rem;
}

.world-copy .lede {
  margin-bottom: 1.6rem;
}

.world-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.world-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(20, 15, 12, 0.04);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.world-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.world-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--red);
  min-width: 2rem;
}

.world-list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
}

.world-list span:not(.world-num) {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.world-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: #1a1410;
  transition: transform 0.3s var(--ease);
}

.world-art:hover {
  transform: scale(1.015);
}

.world-art img {
  width: 100%;
}

.world-art figcaption {
  padding: 0.9rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-align: center;
  font-size: 0.92rem;
}

/* ---------- Timeline ---------- */
.section-flow {
  background:
    linear-gradient(180deg, var(--cream), var(--cream-dark) 40%, var(--cream));
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
  position: relative;
}

.timeline li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.55rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.timeline li:hover {
  transform: translateY(-5px);
}

.timeline .step {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.timeline h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.45rem;
  font-weight: 400;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- CTA ---------- */
.section-cta {
  padding: 4rem 0 5.5rem;
  background: #0e0b09;
}

.cta-panel {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 248, 240, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.45);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(196, 30, 58, 0.35), transparent 65%),
    linear-gradient(180deg, rgba(14, 11, 9, 0.55), rgba(14, 11, 9, 0.88));
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  padding: 4rem 1.75rem;
  max-width: 640px;
  margin-inline: auto;
}

.cta-logo {
  width: min(70vw, 280px);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

.cta-inner h2 {
  margin-bottom: 0.75rem;
}

.cta-inner > p {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: rgba(255, 248, 240, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

.notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto 0.75rem;
}

.waitlist-field {
  position: relative;
  flex: 1 1 240px;
}

.notify-form input[type="email"] {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 248, 240, 0.16);
  background: rgba(0, 0, 0, 0.4);
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form input[type="email"]::placeholder {
  color: rgba(255, 248, 240, 0.42);
}

.notify-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.18);
}

.notify-form input[type="email"].invalid {
  border-color: #ff6b6b;
}

/* Honeypot — visually hidden but present for bots */
.notify-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.notify-form .btn-secondary {
  min-width: 10.5rem;
}

.notify-form.is-loading .btn-secondary {
  opacity: 0.85;
  pointer-events: none;
}

.notify-form.is-success {
  display: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0.35rem 0 0;
  font-weight: 700;
  font-size: 0.98rem;
}

.form-status.is-success {
  color: var(--gold-soft);
}

.form-status.is-error {
  color: #ff8f8f;
}

.form-status.is-info {
  color: rgba(255, 248, 240, 0.85);
}

.waitlist-count {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 248, 240, 0.7);
}

.waitlist-count strong {
  color: var(--gold-soft);
}

.fine-print {
  margin: 0.7rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 248, 240, 0.42);
  font-weight: 500;
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.45;
}

.fine-print a,
.footer-note a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.fine-print a:hover,
.footer-note a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0807;
  color: rgba(255, 248, 240, 0.68);
  padding: 2.75rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(240, 180, 41, 0.45);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
}

.footer-links a {
  font-weight: 600;
  color: rgba(255, 248, 240, 0.72);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.footer-links a:hover {
  color: var(--gold);
  background: rgba(255, 248, 240, 0.06);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 248, 240, 0.08);
  padding-top: 1.25rem;
}

.copyright,
.footer-note {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 6, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  animation: fadeIn 0.22s ease;
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-figure {
  margin: 0;
  max-width: min(96vw, 1400px);
  cursor: default;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  margin-inline: auto;
}

.lightbox figcaption {
  text-align: center;
  color: rgba(255, 248, 240, 0.75);
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 248, 240, 0.15);
  color: var(--cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(255, 248, 240, 0.16);
  color: var(--gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 248, 240, 0.15);
  color: var(--cream);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 248, 240, 0.16);
  color: var(--gold);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .feature-bento {
    grid-template-columns: 1fr 1fr;
  }

  .feature-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .roles-grid,
  .world-layout,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-bento {
    grid-template-columns: 1fr 1fr;
  }

  .g-hero {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 9, 7, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.4rem;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    padding: 0.65rem 1.2rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .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);
  }

  .feature-bento,
  .gallery-bento,
  .timeline,
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .feature-bento {
    grid-template-columns: 1fr;
  }

  .gallery-bento {
    grid-template-columns: 1fr;
  }

  .g-wide,
  .g-hero {
    grid-column: auto;
  }

  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-logo {
    width: min(92vw, 400px);
  }

  .hero-stats {
    max-width: 100%;
  }

  .compare-bar {
    border-radius: var(--radius);
  }

  .lightbox-nav {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg-img {
    animation: none;
  }
}
