/* ==========================================================================
   BUSTED GAMES — Official Design System (busted.games)
   Zero-dependency, ultra-fast, neon arcade-zine UI
   ========================================================================== */

:root {
  --bg: #080910;
  --bg-elevated: #0e101b;
  --surface: #111320;
  --surface-2: #171A2E;
  --border: rgba(255, 255, 255, 0.1);
  --yellow: #FFE600;
  --lime: #9EFF00;
  --coral: #FF3366;
  --cyan: #00F0FF;
  --purple: #B84DFF;
  --text: #F7F7F2;
  --muted: #98A0B8;
  --ink: #080910;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1320px;
  --font-display: 'Impact', 'Arial Narrow', 'Segoe UI Black', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', ui-monospace, SFMono-Regular, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 12%, rgba(255, 51, 102, 0.18), transparent 36%),
    radial-gradient(circle at 58% 18%, rgba(184, 77, 255, 0.12), transparent 34%),
    radial-gradient(circle at 16% 6%, rgba(255, 230, 0, 0.08), transparent 28%),
    radial-gradient(circle at 86% 68%, rgba(0, 240, 255, 0.06), transparent 34%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Fading neon bottom border that cleanly glides away before reaching the overhanging stacked logo */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent calc(max(0px, (100% - var(--container)) / 2) + 130px),
    rgba(255, 51, 102, 0.85) calc(max(0px, (100% - var(--container)) / 2) + 230px),
    rgba(255, 230, 0, 0.75) 55%,
    rgba(0, 240, 255, 0.45) 85%,
    transparent 100%
  );
  filter:
    drop-shadow(0 0 6px rgba(255, 51, 102, 0.65))
    drop-shadow(0 0 12px rgba(255, 230, 0, 0.35));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 70px;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
}

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: -14px;
  position: relative;
  z-index: 60;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
  transition: transform 0.16s ease, filter 0.16s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.04) translateY(1px);
  filter:
    drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 14px rgba(255, 51, 102, 0.45));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6eaf8;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
}

.nav-link.is-active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.38);
}

.nav-link.is-active:hover {
  color: var(--ink);
}

/* Rainbow-Neon Partners Pill (matches partners_btn_ref.jpg) */
.nav-link-partners {
  position: relative;
  isolation: isolate;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background:
    linear-gradient(#090b14, #090b14) padding-box,
    linear-gradient(90deg, #FFE600 0%, #9EFF00 26%, #00F0FF 52%, #B84DFF 78%, #FF3366 100%) border-box;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  gap: 8px;
  box-shadow:
    0 0 14px rgba(0, 240, 255, 0.22),
    0 0 18px rgba(255, 51, 102, 0.16);
}

.nav-link-partners::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #FFE600 0%, #9EFF00 26%, #00F0FF 52%, #B84DFF 78%, #FF3366 100%);
  filter: blur(9px);
  opacity: 0.42;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.nav-link-partners .partners-icon {
  display: inline-flex;
  align-items: center;
  color: var(--yellow);
  filter: drop-shadow(0 0 6px rgba(255, 230, 0, 0.55));
}

.nav-link-partners .partners-label {
  color: #ffffff;
  font-weight: 800;
}

.nav-link-partners:hover {
  background:
    linear-gradient(#101325, #0b0d18) padding-box,
    linear-gradient(90deg, #FFE600 0%, #9EFF00 26%, #00F0FF 52%, #B84DFF 78%, #FF3366 100%) border-box;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 0 20px rgba(0, 240, 255, 0.34),
    0 0 24px rgba(255, 230, 0, 0.26);
}

.nav-link-partners:hover::before {
  opacity: 0.72;
  filter: blur(11px);
}

.nav-link-partners.is-active,
.nav-link-partners.is-active:hover {
  background:
    linear-gradient(135deg, rgba(22, 24, 46, 0.96), rgba(10, 12, 22, 0.98)) padding-box,
    linear-gradient(90deg, #FFE600 0%, #9EFF00 26%, #00F0FF 52%, #B84DFF 78%, #FF3366 100%) border-box;
  color: #ffffff;
  border-color: transparent;
  box-shadow:
    0 0 24px rgba(0, 240, 255, 0.46),
    0 0 30px rgba(255, 51, 102, 0.34),
    0 0 18px rgba(255, 230, 0, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.nav-link-partners.is-active::before {
  opacity: 0.9;
  filter: blur(12px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

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

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 0 22px rgba(255, 230, 0, 0.32);
}

.btn-yellow:hover {
  background: #ffed42;
  box-shadow: 0 0 30px rgba(255, 230, 0, 0.52);
}

.btn-outline {
  background: rgba(17, 19, 32, 0.92);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 230, 0, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-neon-pill {
  border-radius: var(--radius-pill);
  background: rgba(12, 14, 26, 0.85);
  color: var(--card-accent, var(--yellow));
  border: 1.5px solid var(--card-accent, var(--yellow));
  padding: 8px 16px;
  font-size: 0.78rem;
  box-shadow: 0 0 14px color-mix(in srgb, var(--card-accent, var(--yellow)) 22%, transparent);
}

.btn-neon-pill:hover {
  background: var(--card-accent, var(--yellow));
  color: var(--ink);
  box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent, var(--yellow)) 50%, transparent);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.92rem;
  border-radius: 12px;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 22, 0.98);
  padding: 14px 20px 20px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- Atmospheric Hero Decor (Balanced Lightning Art + Readability Scrim) ---------- */
.hero,
.partners-hero {
  position: relative;
  padding: 32px 0 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/branding/bg_hero_lightning.jpg') center center / cover no-repeat;
  opacity: 0.56;
}

.hero-bg-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 16, 0.82) 0%,
      rgba(8, 9, 16, 0.72) 44%,
      rgba(8, 9, 16, 0.18) 76%,
      rgba(8, 9, 16, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 9, 16, 0.3) 0%,
      transparent 22%,
      rgba(8, 9, 16, 0.3) 72%,
      #080910 100%
    );
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  right: 4%;
  top: -18%;
  width: min(640px, 72vw);
  height: 130%;
  background:
    radial-gradient(circle at 60% 45%, rgba(255, 230, 0, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 54% 48%, rgba(255, 51, 102, 0.18) 0%, transparent 54%),
    radial-gradient(circle at 42% 62%, rgba(184, 77, 255, 0.16) 0%, transparent 62%);
  filter: blur(10px);
}

.hero-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-spark {
  position: absolute;
  width: var(--sz, 7px);
  height: var(--sz, 7px);
  background: var(--sp-color, var(--yellow));
  box-shadow: 0 0 12px var(--sp-color, var(--yellow));
  border-radius: 2px;
  opacity: 0.8;
  animation: sparkDrift var(--dur, 4.2s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 24px;
}

.hero-copy {
  position: relative;
  padding-left: 24px;
}

.hero-copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 112px;
  background: linear-gradient(180deg, var(--coral), #ff5c85);
  border-radius: 4px;
  transform: skewX(-12deg);
  box-shadow: 0 0 18px rgba(255, 51, 102, 0.7);
}

.hero-copy.no-bar {
  padding-left: 0;
}

.hero-copy.no-bar::before {
  display: none;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-title .accent-yellow {
  color: var(--yellow);
  text-shadow: 0 0 28px rgba(255, 230, 0, 0.34);
}

.hero-title .accent-coral {
  color: var(--coral);
  text-shadow: 0 0 28px rgba(255, 51, 102, 0.38);
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: clamp(0.98rem, 1.45vw, 1.16rem);
  color: #d6dcf0;
  font-weight: 500;
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 28px 0 18px;
}

/* ---------- Interactive Click-to-Overcharge Mascot Orb ---------- */
.mascot-stage {
  position: relative;
  width: clamp(205px, 24vw, 286px);
  height: clamp(205px, 24vw, 286px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: mascotFloat 4.4s ease-in-out infinite;
}

.mascot-stage:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 16px;
  border-radius: 50%;
}

.mascot-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(8, 9, 16, 0.92);
  border: 1.5px solid rgba(255, 230, 0, 0.65);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 12;
  opacity: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), 0 0 14px rgba(255, 230, 0, 0.24);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mascot-stage:hover .mascot-tooltip,
.mascot-stage:focus-visible .mascot-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mascot-stage.is-powering-up .mascot-tooltip {
  opacity: 0;
  transform: translate(-50%, -6px);
}

.mascot-power-badge {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translate(-50%, 10px) scale(0.7) rotate(-4deg);
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #FFE600 0%, #FFB800 100%);
  color: var(--ink);
  border: 2px solid #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 14;
  opacity: 0;
  box-shadow:
    0 0 24px rgba(255, 230, 0, 0.85),
    0 0 42px rgba(255, 51, 102, 0.55);
}

.mascot-stage.is-powering-up .mascot-power-badge {
  animation: mascotBadgePop 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mascot-shockwave {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 24px var(--yellow), inset 0 0 18px var(--cyan);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0.86);
}

.mascot-shockwave-2 {
  border-color: var(--cyan);
  box-shadow: 0 0 28px var(--cyan), inset 0 0 18px var(--coral);
}

.mascot-stage.is-powering-up .mascot-shockwave-1 {
  animation: mascotShockwave 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mascot-stage.is-powering-up .mascot-shockwave-2 {
  animation: mascotShockwave 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards;
}

.mascot-ring-outer {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    conic-gradient(
      from 0deg,
      var(--coral) 0deg,
      var(--yellow) 110deg,
      rgba(184, 77, 255, 0.4) 200deg,
      var(--coral) 360deg
    ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 18px rgba(255, 51, 102, 0.75));
  animation: ringSpinCW 9s linear infinite;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.mascot-ring-inner {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2.5px dashed rgba(255, 230, 0, 0.85);
  box-shadow:
    0 0 24px rgba(255, 230, 0, 0.42),
    inset 0 0 24px rgba(255, 51, 102, 0.35);
  animation: ringSpinCCW 13s linear infinite;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mascot-stage.is-powering-up .mascot-ring-outer {
  animation-duration: 0.75s;
  filter: drop-shadow(0 0 26px rgba(0, 240, 255, 0.95)) drop-shadow(0 0 36px rgba(255, 230, 0, 0.85));
}

.mascot-stage.is-powering-up .mascot-ring-inner {
  animation-duration: 0.95s;
  border-color: var(--cyan);
  box-shadow:
    0 0 38px rgba(0, 240, 255, 0.85),
    inset 0 0 36px rgba(255, 230, 0, 0.75);
}

.mascot-bolts-svg {
  position: absolute;
  inset: -34%;
  width: 168%;
  height: 168%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
  opacity: 0;
}

.mascot-bolt {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  filter: drop-shadow(0 0 5px currentColor) drop-shadow(0 0 12px rgba(255, 230, 0, 0.7));
}

.mascot-stage.is-powering-up .mascot-bolts-svg {
  opacity: 1;
}

.mascot-stage.is-powering-up .bolt-1 { animation: mascotBoltArc 0.56s ease-out 0s 2 forwards; }
.mascot-stage.is-powering-up .bolt-2 { animation: mascotBoltArc 0.52s ease-out 0.06s 2 forwards; }
.mascot-stage.is-powering-up .bolt-3 { animation: mascotBoltArc 0.58s ease-out 0.03s 2 forwards; }
.mascot-stage.is-powering-up .bolt-4 { animation: mascotBoltArc 0.54s ease-out 0.1s 2 forwards; }
.mascot-stage.is-powering-up .bolt-5 { animation: mascotBoltArc 0.56s ease-out 0.04s 2 forwards; }
.mascot-stage.is-powering-up .bolt-6 { animation: mascotBoltArc 0.52s ease-out 0.12s 2 forwards; }
.mascot-stage.is-powering-up .bolt-7 { animation: mascotBoltArc 0.58s ease-out 0.02s 2 forwards; }
.mascot-stage.is-powering-up .bolt-8 { animation: mascotBoltArc 0.54s ease-out 0.08s 2 forwards; }
.mascot-stage.is-powering-up .bolt-core-1 { animation: mascotBoltArc 0.44s ease-out 0.05s 2 forwards; }
.mascot-stage.is-powering-up .bolt-core-2 { animation: mascotBoltArc 0.46s ease-out 0.14s 2 forwards; }

.mascot-burst-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

.burst-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 2px;
  background: var(--sp-c, var(--yellow));
  box-shadow: 0 0 12px var(--sp-c, var(--yellow));
  opacity: 0;
  transform: translate(0, 0) scale(0.4);
}

.mascot-stage.is-powering-up .burst-spark {
  animation: mascotSparkBurst 0.92s cubic-bezier(0.16, 1, 0.3, 1) var(--sp-delay, 0s) forwards;
}

.mascot-orb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 3;
  transition: transform 0.2s ease;
}

.mascot-stage:hover .mascot-orb-wrap {
  transform: scale(1.04);
}

.mascot-stage.is-powering-up .mascot-orb-wrap {
  animation: mascotChargeShake 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mascot-orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 230, 0, 0.78);
  box-shadow:
    0 0 42px rgba(255, 230, 0, 0.38),
    0 0 70px rgba(255, 51, 102, 0.25);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.mascot-stage:hover .mascot-orb {
  border-color: var(--yellow);
  box-shadow:
    0 0 52px rgba(255, 230, 0, 0.56),
    0 0 84px rgba(0, 240, 255, 0.3);
}

.mascot-stage.is-powering-up .mascot-orb {
  border-color: #ffffff;
  filter: brightness(1.18) saturate(1.25);
  box-shadow:
    0 0 54px rgba(255, 230, 0, 0.95),
    0 0 96px rgba(0, 240, 255, 0.78),
    0 0 135px rgba(255, 51, 102, 0.72);
}

.mascot-flash-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0%, rgba(255, 230, 0, 0.6) 45%, rgba(0, 240, 255, 0.25) 75%, transparent 100%);
  opacity: 0;
  mix-blend-mode: screen;
}

.mascot-stage.is-powering-up .mascot-flash-overlay {
  animation: mascotCoreFlash 1.25s ease-out forwards;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.6deg); }
}

@keyframes mascotChargeShake {
  0%   { transform: scale(1) rotate(0deg); }
  8%   { transform: scale(0.91) rotate(-4deg); }
  16%  { transform: scale(1.13) translate(-5px, -3px) rotate(5deg); }
  24%  { transform: scale(1.15) translate(6px, 3px) rotate(-5deg); }
  32%  { transform: scale(1.12) translate(-5px, 4px) rotate(4deg); }
  40%  { transform: scale(1.15) translate(5px, -4px) rotate(-4deg); }
  48%  { transform: scale(1.11) translate(-3px, 2px) rotate(3deg); }
  58%  { transform: scale(1.09) translate(3px, -2px) rotate(-2deg); }
  74%  { transform: scale(1.04) translate(0, 0) rotate(1deg); }
  100% { transform: scale(1) translate(0, 0) rotate(0deg); }
}

@keyframes mascotCoreFlash {
  0%   { opacity: 0; }
  12%  { opacity: 0.92; }
  26%  { opacity: 0.25; }
  40%  { opacity: 0.72; }
  65%  { opacity: 0.18; }
  100% { opacity: 0; }
}

@keyframes mascotShockwave {
  0%   { opacity: 0.95; transform: scale(0.88); border-width: 4px; }
  60%  { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.88); border-width: 1px; }
}

@keyframes mascotBoltArc {
  0%   { stroke-dashoffset: 180; opacity: 0; }
  15%  { stroke-dashoffset: 20; opacity: 1; }
  42%  { stroke-dashoffset: 0; opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 0.3; }
  75%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -120; opacity: 0; }
}

@keyframes mascotSparkBurst {
  0%   { opacity: 1; transform: translate(0, 0) scale(1.25) rotate(0deg); }
  68%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.25) rotate(160deg); }
}

@keyframes mascotBadgePop {
  0%   { opacity: 0; transform: translate(-50%, 14px) scale(0.6) rotate(-6deg); }
  16%  { opacity: 1; transform: translate(-50%, -6px) scale(1.12) rotate(2deg); }
  28%  { opacity: 1; transform: translate(-50%, -2px) scale(1) rotate(-2deg); }
  80%  { opacity: 1; transform: translate(-50%, -4px) scale(1) rotate(-1deg); }
  100% { opacity: 0; transform: translate(-50%, -18px) scale(0.92) rotate(0deg); }
}

@keyframes ringSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ringSpinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes sparkDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.88; }
  50% { transform: translateY(-10px) scale(1.22); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-stage,
  .mascot-ring-outer,
  .mascot-ring-inner,
  .hero-spark,
  .mascot-stage.is-powering-up .mascot-orb-wrap,
  .mascot-stage.is-powering-up .mascot-shockwave-1,
  .mascot-stage.is-powering-up .mascot-shockwave-2,
  .mascot-stage.is-powering-up .burst-spark,
  .mascot-stage.is-powering-up .mascot-bolt {
    animation: none !important;
  }
  .mascot-stage.is-powering-up .mascot-bolt {
    stroke-dashoffset: 0;
  }
  .mascot-stage.is-powering-up .mascot-power-badge {
    animation: none !important;
    opacity: 1;
    transform: translate(-50%, -4px) scale(1) rotate(0deg);
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Middle 3-Card Bento Row ---------- */
.bento-section {
  padding: 6px 0 26px;
}

.bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.bento-card {
  background: linear-gradient(160deg, rgba(23, 26, 46, 0.96), rgba(14, 16, 27, 0.98));
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 2px solid var(--card-accent, var(--yellow));
  box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent, var(--yellow)) 20%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-featured {
  --card-accent: var(--coral);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.featured-thumb-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 10;
  background: #0b0d17;
}

.featured-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bento-featured:hover .featured-thumb-wrap img {
  transform: scale(1.04);
}

.featured-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--yellow);
  line-height: 1.05;
}

.featured-tagline {
  margin: 0 0 16px;
  color: #dbe0f2;
  font-size: 0.98rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1.5px solid var(--pill-color, var(--cyan));
  color: var(--pill-color, var(--cyan));
  background: color-mix(in srgb, var(--pill-color, var(--cyan)) 12%, transparent);
}

.bento-daily,
.bento-leaderboard {
  --card-accent: var(--lime);
}

.bento-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-head-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.bento-head-title .accent {
  color: var(--yellow);
}

.bento-head-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.daily-body {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.daily-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 51, 102, 0.5);
  flex-shrink: 0;
}

.daily-name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.daily-obj {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.lb-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.lb-rank {
  font-weight: 800;
  color: var(--yellow);
}

.lb-rank.r2 { color: #d5dce8; }
.lb-rank.r3 { color: #e29b58; }

.lb-placeholder {
  color: var(--muted);
}

.lb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-top: 4px;
}

.lb-link:hover {
  text-decoration: underline;
}

/* ---------- Arcade Section ---------- */
.arcade-section {
  padding: 10px 0 30px;
}

.arcade-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-size: clamp(1.38rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title .icon-accent {
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
}

.section-slash {
  color: var(--coral);
  font-weight: 900;
  font-size: 1.5rem;
}

.section-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.search-wrap {
  position: relative;
  min-width: 220px;
  flex: 0 1 260px;
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.15);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.filter-pill.is-active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 0 0 16px rgba(255, 230, 0, 0.32);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 2px solid var(--card-accent, var(--yellow));
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 0 16px color-mix(in srgb, var(--card-accent, var(--yellow)) 16%, transparent);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--card-accent, var(--yellow)) 34%, transparent);
}

.game-card[hidden] {
  display: none;
}

.game-thumb-wrap {
  aspect-ratio: 16 / 10;
  background: #0b0d17;
  overflow: hidden;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb {
  transform: scale(1.06);
}

.game-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
}

.game-card-title {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.game-card-sub {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.play-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--yellow);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 230, 0, 0.35);
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-md);
  border: 1.5px dashed rgba(255, 255, 255, 0.16);
  background: rgba(17, 19, 32, 0.6);
  color: var(--muted);
}

/* ---------- Bottom 2 CTA Cards ---------- */
.cta-section {
  padding: 6px 0 32px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(23, 26, 46, 0.96), rgba(12, 14, 24, 0.98));
  border: 2px solid var(--card-accent, var(--yellow));
  box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent, var(--yellow)) 18%, transparent);
}

.cta-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--card-accent, var(--yellow)) 14%, transparent);
  color: var(--card-accent, var(--yellow));
  flex-shrink: 0;
}

.cta-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta-title .accent {
  color: var(--card-accent, var(--yellow));
}

.cta-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 51, 102, 0.28);
  background: linear-gradient(180deg, rgba(13, 15, 27, 0.98) 0%, rgba(7, 8, 14, 1) 100%);
  padding: 26px 0 28px;
  margin-top: auto;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--yellow), transparent);
  opacity: 0.65;
  z-index: 2;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/branding/bg_grid_subtle.jpg') center bottom / cover no-repeat;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.95) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.95) 100%);
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(255, 230, 0, 0.22));
  transition: transform 0.16s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: scale(1.04);
}

.footer-brand-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 16px;
}

.footer-brand-name {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
  max-width: 40ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd6eb;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  font-size: 0.84rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e7f7;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-contact-item:hover {
  color: var(--yellow);
}

.footer-social {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--yellow);
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- Game Player Page (/arcade/<slug>/) ---------- */
.player-page {
  padding: 18px 0 38px;
}

.player-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.player-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.player-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.player-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-frame-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 460px;
  max-height: 78vh;
  background: #05060b;
  border-radius: var(--radius-lg);
  border: 2px solid var(--card-accent, var(--yellow));
  box-shadow: 0 0 36px color-mix(in srgb, var(--card-accent, var(--yellow)) 24%, transparent);
  overflow: hidden;
  margin-bottom: 22px;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #05060b;
}

.player-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.panel-card {
  background: var(--surface);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px;
}

.panel-card h2, .panel-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.controls-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.control-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 12px 14px;
}

.control-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 4px;
}

.tips-list {
  margin: 0;
  padding-left: 18px;
  color: #dce2f4;
  display: grid;
  gap: 8px;
}

/* ---------- Inner Pages (Studio, Feedback, Account, Legal, 404) ---------- */
.page-hero {
  position: relative;
  padding: 28px 0 20px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--grid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/branding/bg_grid_subtle.jpg') center 84% / cover no-repeat;
  opacity: 0.34;
}

.page-hero--grid::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 16, 0.78) 0%, rgba(8, 9, 16, 0.42) 55%, rgba(8, 9, 16, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 9, 16, 0.44) 0%, transparent 34%, #080910 100%);
}

.page-hero--grid > .container {
  position: relative;
  z-index: 2;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.05;
}

.page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 66ch;
}

.content-section {
  padding: 8px 0 38px;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-stack {
  display: grid;
  gap: 14px;
}

.field-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dce2f4;
}

.field-input, .field-textarea, .field-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-elevated);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus, .field-textarea:focus, .field-select:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.14);
}

.field-textarea {
  min-height: 112px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #dce2f4;
}

.checkbox-row input {
  margin-top: 4px;
  accent-color: var(--yellow);
}

.status-banner {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(158, 255, 0, 0.1);
  border: 1.5px solid rgba(158, 255, 0, 0.48);
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.status-banner.is-visible {
  display: block;
}

/* ---------- Partners Page (/studio/partners/) ---------- */
.partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--coral);
  background: rgba(255, 51, 102, 0.14);
  color: #ff6b93;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 51, 102, 0.3);
  margin-bottom: 14px;
}

.partners-section {
  padding: 18px 0 26px;
}

.partners-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.partners-heading-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.partners-heading-bar {
  display: inline-block;
  width: 56px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.6);
}

/* 7-card Why Work grid: 3 across top + 4 across bottom on wide desktop = zero orphans */
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 15px;
}

.why-card {
  grid-column: span 4;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(23, 26, 46, 0.94), rgba(13, 15, 27, 0.98));
  border: 1.5px solid var(--card-accent, var(--yellow));
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent, var(--yellow)) 16%, transparent);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.why-card:nth-child(n+4) {
  grid-column: span 3;
}

.why-card:hover,
.why-card:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--card-accent, var(--yellow)) 34%, transparent),
    inset 0 0 18px color-mix(in srgb, var(--card-accent, var(--yellow)) 10%, transparent);
}

.why-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--card-accent, var(--yellow));
  background: color-mix(in srgb, var(--card-accent, var(--yellow)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--yellow)) 36%, transparent);
}

.why-title {
  margin: 0 0 5px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.why-desc {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.45;
}

.why-cue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--card-accent, var(--yellow));
  opacity: 0.76;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.why-card:hover .why-cue,
.why-card:focus-visible .why-cue {
  opacity: 1;
  transform: translateX(4px);
}

/* 4-card Partnership Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.option-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(23, 26, 46, 0.95), rgba(12, 14, 24, 0.98));
  border: 2px solid var(--card-accent, var(--purple));
  box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent, var(--purple)) 20%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--card-accent, var(--purple)) 34%, transparent);
}

.option-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--card-accent, var(--purple));
  background: color-mix(in srgb, var(--card-accent, var(--purple)) 14%, transparent);
}

.option-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.option-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Custom Games Discount Highlight Banner (matches partners_reference.jpg) */
.discount-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.55fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 50%, rgba(184, 77, 255, 0.24), transparent 55%),
    radial-gradient(circle at 86% 45%, rgba(255, 51, 102, 0.24), transparent 55%),
    linear-gradient(135deg, rgba(23, 20, 46, 0.98) 0%, rgba(15, 14, 30, 0.98) 55%, rgba(32, 15, 34, 0.98) 100%);
  border: 2px solid var(--coral);
  box-shadow:
    0 0 34px rgba(255, 51, 102, 0.28),
    inset 0 0 32px rgba(184, 77, 255, 0.14);
  overflow: hidden;
}

.discount-mockup {
  position: relative;
  background: linear-gradient(160deg, #1b153d, #0f1024);
  border: 2px solid var(--purple);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 0 24px rgba(184, 77, 255, 0.35);
}

.discount-mockup-screen {
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 230, 0, 0.28), transparent 60%),
    linear-gradient(180deg, #251a57 0%, #10122a 100%);
  padding: 18px 12px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}

.discount-mockup-trophy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 230, 0, 0.16);
  color: var(--yellow);
  box-shadow: 0 0 22px rgba(255, 230, 0, 0.45);
  margin-bottom: 6px;
}

.discount-mockup-stars {
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  font-weight: 900;
}

.discount-credit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(8, 9, 16, 0.92);
  border: 1.5px solid rgba(255, 230, 0, 0.55);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text);
}

.discount-credit-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  flex-shrink: 0;
}

.discount-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 900;
  line-height: 1.12;
}

.discount-copy h2 .accent-yellow {
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255, 230, 0, 0.32);
}

.discount-copy p {
  margin: 0 0 14px;
  color: #dce2f4;
  font-size: 0.95rem;
  max-width: 58ch;
}

.discount-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 16px;
}

.discount-perk {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.discount-perk svg {
  color: var(--lime);
  flex-shrink: 0;
}

.starburst-wrap {
  position: relative;
  width: 142px;
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-7deg);
}

.starburst-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(255, 51, 102, 0.65));
}

.starburst-text {
  position: relative;
  z-index: 2;
  text-align: center;
  font-weight: 900;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

.starburst-text .big {
  display: block;
  font-size: 1.25rem;
}

.starburst-text .small {
  display: block;
  font-size: 0.95rem;
}

/* Deliverables Checklist Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 13px;
  background: var(--surface);
  border: 1.5px solid rgba(0, 240, 255, 0.24);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.07);
}

.deliverable-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(158, 255, 0, 0.14);
  color: var(--lime);
  border: 1px solid rgba(158, 255, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.deliverable-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 2px;
}

.deliverable-item span {
  display: block;
  font-size: 0.81rem;
  color: var(--muted);
}

/* Featured Games Showcase (4 cards) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 2px solid var(--card-accent, var(--yellow));
  overflow: hidden;
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent, var(--yellow)) 18%, transparent);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--card-accent, var(--yellow)) 34%, transparent);
}

.showcase-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.showcase-tagline {
  margin: 0;
  font-size: 0.8rem;
  color: #cfd6eb;
  line-height: 1.42;
  flex: 1;
}

/* Who This Is For Pill/Card Grid */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, rgba(23, 26, 46, 0.95), rgba(14, 16, 27, 0.98));
  border: 1.5px solid var(--pill-color, var(--cyan));
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 0 16px color-mix(in srgb, var(--pill-color, var(--cyan)) 16%, transparent);
}

.audience-pill svg {
  color: var(--pill-color, var(--cyan));
  flex-shrink: 0;
}

/* Pricing / Engagement Models */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(23, 26, 46, 0.94), rgba(12, 14, 24, 0.98));
  border: 1.5px solid var(--card-accent, rgba(255, 255, 255, 0.16));
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent, var(--yellow)) 14%, transparent);
}

.pricing-card.is-featured {
  border-width: 2px;
  box-shadow: 0 0 26px rgba(255, 230, 0, 0.24);
}

.pricing-card h3 {
  margin: 8px 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
}

.pricing-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.48;
}

/* Partner Enquiry Form Section */
.partner-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
}

.quick-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 230, 0, 0.45);
  background: rgba(255, 230, 0, 0.08);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.quick-pill:hover,
.quick-pill.is-selected {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
}

.direct-contact-card {
  background: linear-gradient(160deg, rgba(23, 26, 46, 0.96), rgba(14, 16, 27, 0.98));
  border: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.16);
  display: grid;
  gap: 14px;
}

.email-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.09);
  border: 1.5px solid rgba(0, 240, 255, 0.42);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  word-break: break-all;
}

.email-highlight:hover {
  background: rgba(0, 240, 255, 0.16);
}

/* FAQ Accordion (<details>) */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--yellow);
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.14);
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 230, 0, 0.12);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--yellow);
  color: var(--ink);
}

.faq-answer {
  padding: 0 20px 18px;
  color: #cdd4eb;
  font-size: 0.9rem;
  line-height: 1.58;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.field-pulse {
  border-color: var(--yellow) !important;
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.25) !important;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1120px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-featured {
    grid-column: 1 / -1;
  }
  .options-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-card,
  .why-card:nth-child(n+4) {
    grid-column: span 6;
  }
  .discount-banner {
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.4fr);
  }
  .starburst-wrap {
    grid-column: 1 / -1;
    justify-self: start;
    width: 124px;
    height: 124px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-contact {
    align-items: flex-start;
  }
}

@media (max-width: 920px) {
  .main-nav,
  .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .header-inner {
    height: 62px;
  }
  .site-header::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      transparent 98px,
      rgba(255, 51, 102, 0.85) 170px,
      rgba(255, 230, 0, 0.75) 58%,
      rgba(0, 240, 255, 0.45) 86%,
      transparent 100%
    );
  }
  .brand-logo {
    height: 48px;
    margin-bottom: -10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-visual {
    order: -1;
    padding: 36px 0 12px;
  }
  .mascot-stage {
    width: 184px;
    height: 184px;
  }
  .bento-grid,
  .bento-featured,
  .cta-grid,
  .player-info-grid,
  .two-col-grid,
  .partner-enquiry-grid,
  .discount-banner,
  .field-row-2 {
    grid-template-columns: 1fr;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .game-frame-shell {
    aspect-ratio: 4 / 3;
    min-height: 350px;
  }
  .footer-brand-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-brand-copy {
    border-left: none;
    padding-left: 0;
  }
  .footer-logo {
    height: 46px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .why-card,
  .why-card:nth-child(n+4) {
    grid-column: span 12;
  }
  .options-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .discount-banner {
    padding: 20px 18px;
  }
  .starburst-wrap {
    justify-self: center;
  }
  .btn-lg {
    width: 100%;
  }
}
