/* =====================================================================
   KnightMobs Esports — Design System
   Black · Orange · White · Glassmorphism · Motion-first
   Single accent system, one radius scale, off-black base (no #000).
   ===================================================================== */

/* ----------------------------- 1. TOKENS ---------------------------- */
:root {
  /* Base — Pure Midnight theme: true black with minimal effects */
  --bg:        #000000;
  --bg-2:      #0a0a0c;
  --bg-3:      #111114;

  /* Glass surfaces */
  --surface:        rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.14);

  /* Text */
  --text:   #f4f4f6;
  --muted:  #a8a8b0;
  --faint:  #8f8f98;   /* AA-safe on dark surfaces (≈6.1:1) */

  /* Accents — the one locked accent system for the whole site.
     Aliases (--blue/--purple) kept so existing var() refs resolve. */
  --accent:    #ff6a00;   /* primary orange */
  --accent-2:  #ff8c1a;   /* lighter amber (gradient end) */
  --accent-3:  #cc5200;   /* deep orange (glow/shadow) */
  --blue:   var(--accent);
  --blue-2: var(--accent-2);
  --purple: var(--accent-2);
  --purple-2:var(--accent-3);

  --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --accent-glow: 0 0 0 1px rgba(255,106,0,.22), 0 8px 40px -8px rgba(204,82,0,.55);

  /* Radius scale — one system. Cards 16px, pills full, inputs 12px. */
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Type — single typeface (Inter) site-wide, matching the current site. */
  --font-display: "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "Inter", system-ui, sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* z-index scale (documented, never random) */
  --topbar-h: 36px;
  --z-bg: 0;
  --z-content: 1;
  --z-nav: 60;
  --z-loader: 90;
  --z-grain: 100;
}

/* ----------------------------- 2. RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(255,140,26,.35); color: #fff; }

/* --------------------------- 3. ANIMATED BG ------------------------- */
/* Pure Midnight theme: flat true-black with ONE faint static orange halo
   at the top. No aurora blobs, no particles, no reactive spotlight, no
   grain — minimum effects, no motion. pointer-events:none throughout. */
.bg-stage {
  position: fixed; inset: 0; z-index: var(--z-bg);
  pointer-events: none; overflow: hidden;
  background: radial-gradient(80% 50% at 50% -10%, rgba(255,106,0,.05), transparent 60%), #000;
}
/* Animated background layers neutralised for the minimal theme */
.bg-stage .aurora { display: none; }
#particles { display: none; }
.spotlight { display: none; }
.grain { display: none; }

@media (prefers-reduced-transparency: reduce) {
  .bg-stage { background: #000; }
}

/* ----------------------------- 4. LAYOUT ---------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  position: relative; z-index: var(--z-content);
}
section { position: relative; z-index: var(--z-content); }
.section { padding-block: clamp(72px, 12vh, 140px); }
.section-tight { padding-block: clamp(48px, 8vh, 90px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px;
  background: var(--accent-grad);
}

.h-display {
  font-family: var(--font-display); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}
.h-section {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.01em;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 62ch; }

.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* --------------------------- 5. COMPONENTS -------------------------- */
/* Glass card */
.glass {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px -22px rgba(0,0,0,.7);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent-grad); color: #06070c;
  box-shadow: var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,106,0,.35), 0 16px 50px -10px rgba(204,82,0,.7); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-ghost {
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 0 0 1px rgba(255,106,0,.25); }
.btn-ghost:active { transform: translateY(0) scale(.98); }

/* Chip / tag */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 10px var(--blue); }
.chip.live .dot { background: #34f5a6; box-shadow: 0 0 12px #34f5a6; animation: pulse 1.6s var(--ease) infinite; }
.chip.out { color: #ff6b6b; }
.chip.out .dot { background: #ff6b6b; box-shadow: 0 0 10px #ff6b6b; }

@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(.7);} }

/* Spotlight-border card (illuminates under cursor) */
.spot-card {
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.spot-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--cx,50%) var(--cy,0%),
              rgba(255,106,0,.16), transparent 42%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.spot-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.spot-card:hover::before { opacity: 1; }

/* ------------------------------ 6. NAV ------------------------------ */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: calc(var(--z-nav) + 1);
  height: var(--topbar-h); display: flex; align-items: center;
  background: rgba(5,6,10,.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar-tag { font-size: .74rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.topbar-tag strong { color: var(--text); font-weight: 600; }
.topbar-socials { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.topbar-socials a {
  width: 30px; height: 28px; display: grid; place-items: center; border-radius: 7px;
  color: var(--muted); transition: color .2s var(--ease), background .2s var(--ease);
}
.topbar-socials a:hover { color: var(--accent); background: var(--surface); }
.topbar-socials svg { width: 15px; height: 15px; }
@media (max-width: 600px) {
  :root { --topbar-h: 34px; }
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: flex-end; }
}

.nav {
  position: fixed; inset-inline: 0; top: var(--topbar-h); z-index: var(--z-nav);
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,8,13,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-grad); color: #06070c; font-weight: 700;
  box-shadow: var(--accent-glow);
}
.brand b { color: var(--blue); }
.brand-logo { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .92rem; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }

/* About dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .92rem; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease); }
.nav-item > a:hover, .nav-item > a.active { color: var(--text); background: var(--surface); }
.nav-item .caret { width: 13px; height: 13px; opacity: .7;
  transition: transform .2s var(--ease); }
.nav-item:hover > a .caret, .nav-item:focus-within > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 188px;
  display: flex; flex-direction: column; gap: 2px; padding: 8px;
  background: rgba(12,13,20,.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 44px -14px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  z-index: 60;
}
/* invisible bridge so the hover doesn't drop across the gap */
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  padding: 9px 12px; border-radius: 9px; font-size: .9rem; color: var(--muted); white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.dropdown a:hover, .dropdown a.active { color: var(--text); background: var(--surface); }
.mobile-menu a.sub { padding-left: 26px; font-size: 1.05rem; opacity: .82; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); }
.burger span { display:block; width: 20px; height: 2px; background: var(--text); margin: 4px auto;
  transition: transform .3s var(--ease), opacity .3s var(--ease); }
.burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; padding: 88px var(--gutter) 32px;
  background: rgba(7,8,13,.9); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; padding: 14px 0;
  border-bottom: 1px solid var(--border); }

/* Shorter viewports: shrink so every link (incl. Contact) stays reachable. */
@media (max-height: 740px) {
  .mobile-menu { padding-top: 76px; }
  .mobile-menu a { font-size: 1.2rem; padding: 9px 0; }
  .mobile-menu a.sub { font-size: .95rem; }
  .mobile-menu > div { margin-top: 16px !important; }
}

/* ----------------------------- 7. LOADER ---------------------------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: var(--bg); display: grid; place-items: center;
}
.loader-inner { text-align: center; }

/* glitch title */
.loader .glitch-wrapper { position: relative; margin-bottom: 30px; }
.loader .glitch-text {
  position: relative; display: inline-block; font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem); font-weight: 800; line-height: 1;
  letter-spacing: -.03em; text-transform: uppercase; color: #fff;
}
.loader .glitch-text::before,
.loader .glitch-text::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.loader .glitch-text::before { left: 2px; text-shadow: -1px 0 var(--accent);
  clip-path: inset(0 0 0 0); animation: glitch-anim-1 2s infinite linear alternate-reverse; }
.loader .glitch-text::after { left: -2px; text-shadow: -1px 0 #0066ff;
  clip-path: inset(0 0 0 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }
@keyframes glitch-anim-1 {
  0%{clip-path:inset(20% 0 80% 0)} 20%{clip-path:inset(60% 0 10% 0)} 40%{clip-path:inset(40% 0 50% 0)}
  60%{clip-path:inset(80% 0 5% 0)} 80%{clip-path:inset(10% 0 60% 0)} 100%{clip-path:inset(30% 0 30% 0)} }
@keyframes glitch-anim-2 {
  0%{clip-path:inset(10% 0 60% 0)} 20%{clip-path:inset(30% 0 20% 0)} 40%{clip-path:inset(70% 0 10% 0)}
  60%{clip-path:inset(20% 0 50% 0)} 80%{clip-path:inset(50% 0 30% 0)} 100%{clip-path:inset(0 0 80% 0)} }

/* scan bar */
.loader-bar { position: relative; width: 256px; height: 4px; border-radius: 3px; margin: 0 auto;
  background: var(--surface-strong); overflow: hidden; }
.loader-bar .scan-line { position: absolute; inset: 0; width: 100%; height: 100%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: loader-scan 1.4s linear infinite; }
@keyframes loader-scan { 0%{ transform: translateX(-100%);} 100%{ transform: translateX(100%);} }

.loader-text { margin-top: 18px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .3em; color: var(--accent); text-transform: uppercase;
  animation: loader-pulse 1.6s ease-in-out infinite; }
@keyframes loader-pulse { 50%{ opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .loader .glitch-text::before, .loader .glitch-text::after,
  .loader-bar .scan-line, .loader-text { animation: none; }
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ------------------------------ 8. HERO ----------------------------- */
.hero { position: relative; height: 100vh; height: 100dvh; width: 100%; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* Full-bleed video background */
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .4; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-tint { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.5); }

/* Gradient that fades the video into the page background at the bottom */
.hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0%, rgba(5,5,5,.5) 45%, transparent 100%); }

/* Centered title block */
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px;
  max-width: 60rem; margin-top: -5vh; }
.hero-kicker-row { display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 24px; opacity: 0; animation: heroFadeIn 1s var(--ease) forwards 1s; }
.no-js .hero-kicker-row, .reduce-motion .hero-kicker-row { opacity: 1; animation: none; }
.hero-rule { height: 1px; width: 48px; background: var(--accent); }
.hero-kicker-text { font-family: var(--font-mono); text-transform: uppercase; font-size: .75rem;
  letter-spacing: .2em; color: var(--accent); }
/* Matches the mockup's `text-5xl md:text-8xl` — 6rem desktop, 3rem mobile (see @768) */
.hero-title { font-weight: 900; color: #fff; text-transform: uppercase;
  font-size: 6rem; line-height: .9; letter-spacing: -0.05em;
  opacity: 0; animation: heroFadeIn 1s var(--ease) forwards 1.2s; }
.no-js .hero-title, .reduce-motion .hero-title { opacity: 1; animation: none; }
.hero-title .grad-text { color: var(--accent); -webkit-text-fill-color: var(--accent); background: none; }

@keyframes heroFadeIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

/* Social icons above the marquee */
.hero-socials { position: absolute; bottom: 128px; left: 0; width: 100%; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; animation: heroFadeIn 1s var(--ease) forwards 1.5s; }
.no-js .hero-socials, .reduce-motion .hero-socials { opacity: 1; animation: none; }
.hero-socials a { position: relative; color: #fff; transition: color .3s var(--ease), transform .3s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.hero-socials a:hover { color: var(--accent); transform: scale(1.1); }

/* Bottom marquee bar */
.hero-marquee { position: absolute; bottom: 40px; left: 0; width: 100%; z-index: 2;
  border-block: 1px solid var(--border); background: rgba(0,0,0,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 16px 0; overflow: hidden;
  white-space: nowrap; }
.hero-marquee-track { display: inline-block; animation: heroMarquee 30s linear infinite; }
.hero-marquee-track span { text-transform: uppercase; font-size: 1.125rem; font-weight: 700;
  letter-spacing: -0.01em; }
.hero-marquee-track .m-w { color: #fff; padding: 0 32px; }
.hero-marquee-track .m-m { color: var(--muted); padding: 0 32px; }
.hero-marquee-track .m-dot { color: var(--accent); padding: 0 8px; }
@keyframes heroMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.reduce-motion .hero-marquee-track { animation: none; }

/* --------------------------- 9. STAT COUNTERS ----------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { padding: 34px; border-radius: var(--r-lg); text-align: left; }
.stat .num { font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.stat .num .suffix { color: var(--blue); }
.stat .label { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* --------------------------- 10. CARD GRIDS ------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .h-section { max-width: 18ch; }

.give-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.give-card { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.give-card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.give-card.feature .media { aspect-ratio: 4/5; }
.give-card .media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); }
.give-card:hover .media img { transform: scale(1.06); }
.give-card .media::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 30%, rgba(7,8,13,.85) 100%); }
.give-card .media .chip { position: absolute; top: 14px; left: 14px; z-index: 2; }
.give-card .body { padding: 22px; display: grid; gap: 10px; flex: 1; }
.give-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.give-card p { color: var(--muted); font-size: .92rem; }
.give-card .meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint); padding-top: 8px; }
.give-card .meta .prize { color: var(--blue); }

/* News (swiper) */
.news-swiper { overflow: visible; }
.news-card { border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.news-card .media { aspect-ratio: 16/9; overflow: hidden; }
.news-card .media img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .media img { transform: scale(1.05); }
.news-card .body { padding: 20px; display: grid; gap: 10px; }
.news-card .date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); }
.news-card h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.news-card p { color: var(--muted); font-size: .9rem; }
.swiper-pagination-bullet { background: var(--muted); }
.swiper-pagination-bullet-active { background: var(--blue); }

/* About preview split */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.about-points .ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid;
  place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--blue); }
.about-visual { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.about-visual img, .about-visual video { width:100%; height:100%; object-fit: cover; display:block; }
.about-visual::after { content:""; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(255,106,0,.12), rgba(255,140,26,.18)); mix-blend-mode: overlay; }

/* About visual — image-free stat panel */
.about-deck { position: relative; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px);
  overflow: hidden; }
.about-deck::before { content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,106,0,.18), transparent 55%); }
.about-deck::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%); }
.about-deck > * { position: relative; z-index: 1; }

.deck-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--border); margin-bottom: 22px; }
.deck-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #34f5a6;
  box-shadow: 0 0 10px #34f5a6; animation: pulse 1.6s var(--ease) infinite; }

.deck-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deck-stat { padding: 20px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.deck-stat:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--surface-strong); }
.deck-stat .n { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.deck-stat .n .suffix { -webkit-text-fill-color: initial; color: var(--accent-2); }
.deck-stat .l { margin-top: 10px; color: var(--muted); font-size: .85rem; line-height: 1.4; }

.deck-ribbon { margin-top: 18px; padding: 14px 18px; border-radius: var(--r);
  border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; gap: 12px; }
.deck-ribbon .badge { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid;
  place-items: center; background: var(--accent-grad); color: #06070c; box-shadow: var(--accent-glow); }
.deck-ribbon .badge svg { width: 20px; height: 20px; }
.deck-ribbon .txt { font-family: var(--font-display); font-weight: 600; color: var(--text); line-height: 1.3; }
.deck-ribbon .txt small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

/* Who We Are — identity section (redesign) */
.about-split { align-items: stretch; }
.about-intro { display: flex; flex-direction: column; align-items: flex-start; }

/* Left: principle ledger — icon + title + desc, hairline separated (no bullets) */
.creed-list { width: 100%; margin-top: 34px; border-top: 1px solid var(--border); }
.creed-item { display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  transition: padding-left .35s var(--ease); }
.creed-item:hover { padding-left: 8px; }
.creed-ic { flex: none; width: 42px; height: 42px; border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .35s var(--ease), background .35s var(--ease); }
.creed-item:hover .creed-ic { border-color: var(--accent); background: var(--surface-strong); }
.creed-ic svg { width: 20px; height: 20px; }
.creed-body { display: grid; gap: 3px; padding-top: 2px; }
.creed-title { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.02rem; }
.creed-desc { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* Right: stat deck with one featured metric + 3-up small stats */
.creed-deck { display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg);
  position: relative; overflow: hidden; }
.creed-deck::before { content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,106,0,.16), transparent 55%); }
.creed-deck::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.45;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 80%); }
.creed-deck > * { position: relative; z-index: 1; }

.deck-feature { padding: 24px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border);
  position: relative; overflow: hidden; }
.deck-feature::after { content:""; position:absolute; right:-34px; top:-34px;
  width: 150px; height: 150px; pointer-events:none;
  background: radial-gradient(circle, rgba(255,106,0,.22), transparent 70%); }
.deck-feature .n { font-family: var(--font-mono); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.deck-feature .n .suffix { -webkit-text-fill-color: initial; color: var(--accent-2); }
.deck-feature .l { margin-top: 10px; color: var(--muted); font-size: .9rem; }

.deck-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.deck-grid-3 .deck-stat { padding: 16px 14px; }
.deck-grid-3 .deck-stat .n { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.deck-grid-3 .deck-stat .l { margin-top: 7px; font-size: .78rem; }

/* CTA band */
.cta-band { border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center;
  position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0;
  background: radial-gradient(600px circle at 50% -20%, rgba(204,82,0,.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band .h-section { margin-inline: auto; max-width: 20ch; }
.cta-band .lead { margin: 18px auto 30px; }

/* ----------------------------- 11. FOOTER --------------------------- */
.footer { padding-block: 80px 40px; margin-top: 40px; }
.footer-card { position: relative; overflow: hidden; border-radius: 28px;
  border: 1px solid var(--border-strong); background: rgba(20,20,24,.6); }
.footer-card-glow { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 50%, rgba(255,255,255,.1)); }
.footer-card-inner { position: relative; padding: clamp(28px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand-logo { height: 46px; }
.footer h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer .blurb { color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 34ch; margin-top: 24px; }
.footer-est { margin-top: 16px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); font-family: var(--font-mono); }
.socials { display: flex; gap: 12px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.05); color: var(--muted); transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-bottom > span { color: var(--faint); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; font-family: var(--font-mono); }

/* --------------------------- 12. REVEAL HOOKS ----------------------- */
[data-reveal] { opacity: 0; }
.no-js [data-reveal], .reduce-motion [data-reveal] { opacity: 1; }

/* --------------------------- 13. RESPONSIVE ------------------------- */
@media (max-width: 1024px) {
  .give-grid { grid-template-columns: 1fr 1fr; }
  .give-card.feature { grid-column: 1 / -1; }
  .give-card.feature .media { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .nav-cta { gap: 8px; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .give-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-socials { bottom: 110px; }
  .hero-title { font-size: 3rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .deck-stats { grid-template-columns: 1fr; }
  .deck-grid-3 { grid-template-columns: 1fr; }
}

/* Reduced motion: kill all looping/transform animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-video, .hero-bg { display: none; }
}

/* ----------------------------- BACK TO TOP -------------------------- */
.back-to-top {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--surface-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .25s ease, border-color .25s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  color: var(--accent-2);
}
.back-to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .001ms, visibility .001ms; transform: none; }
  .back-to-top.show { transform: none; }
}

/* --------------------------- VALUES / WHAT WE STAND FOR ------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
/* animated accent bar that grows from the left edge on hover */
.value-card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px; height: 100%;
  background: var(--accent-grad);
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
  z-index: 2;
}
/* radial accent glow that fades in behind the content on hover */
.value-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,106,0,.16), transparent 60%);
  opacity: 0; transition: opacity .45s var(--ease);
  z-index: -1;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 50px -18px rgba(204,82,0,.55);
}
.value-card:hover::before { transform: scaleY(1); }
.value-card:hover::after  { opacity: 1; }

.value-card .v-num {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 2.4rem; line-height: 1;
  color: rgba(255,255,255,.05);
  transition: color .45s var(--ease);
}
.value-card:hover .v-num { color: rgba(255,106,0,.22); }

.value-card .v-ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--accent-2);
  margin-bottom: 20px;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.value-card .v-ic svg { width: 24px; height: 24px; }
.value-card:hover .v-ic { transform: translateY(-2px) rotate(-4deg); border-color: var(--accent); }

.value-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -.01em;
  margin-bottom: 10px; color: var(--text);
}
.value-card p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

@media (max-width: 860px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-card { padding: 26px 22px 24px; }
}

/* --------------------------- TEAM PAGE ----------------------------- */
/* Game roster — coming soon tiles */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card { position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px); text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease); }
.game-card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 50% 0%, rgba(255,106,0,.16), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); }
.game-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.game-card:hover::after { opacity: 1; }
.game-card .g-name { font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: -.02em; color: var(--text); }
.game-card .g-sub { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.game-card .soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 7px 16px; border-radius: var(--r-pill); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2);
  background: var(--surface); border: 1px solid var(--border-strong); }
.game-card .soon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s var(--ease) infinite; }

/* Profile cards — creators & management */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-card { position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.profile-card:hover { transform: translateY(-6px); border-color: var(--border-strong);
  box-shadow: 0 18px 50px -18px rgba(204,82,0,.5); }
.profile-card .avatar { width: 104px; height: 104px; margin: 0 auto 18px; border-radius: 50%;
  overflow: hidden; position: relative; border: 2px solid var(--border-strong);
  background: var(--surface); transition: border-color .35s var(--ease); }
.profile-card:hover .avatar { border-color: var(--accent); }
.profile-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--text); }
.profile-card .role { margin-top: 4px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.profile-card .socials { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.profile-card .socials a { width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 11px; background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.profile-card .socials a:hover { color: #fff; background: var(--accent-grad);
  border-color: var(--accent); transform: translateY(-2px); }
.profile-card .socials svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .game-grid, .profile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .game-grid, .profile-grid { grid-template-columns: 1fr; }
}
