/* =========================================================
   Slatework — Roblox studio site (v2)
   Fresh game-studio styling · hex motif · cyan accent
   ========================================================= */

:root {
  --bg: #070b12;
  --bg-soft: #0f141d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5f7;
  --text-dim: #8b9099;
  --text-faint: #5a5f68;

  --cyan: #00c0ff;
  --cyan-deep: #006eff;
  --cyan-bright: #7eddff;
  --cyan-soft: rgba(0, 192, 255, 0.12);
  --cyan-glow: rgba(0, 192, 255, 0.4);
  --grad: linear-gradient(135deg, #7eddff 0%, #00c0ff 45%, #006eff 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1200px;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body {
  background:
    radial-gradient(1100px 700px at 50% -10%, rgba(0, 192, 255, 0.13), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(0, 110, 255, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: rgba(0, 192, 255, 0.4); color: #fff; }

/* ===========================================================
   Decorative background — grid + floating hex field
   =========================================================== */
.bg-grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, black 30%, transparent 85%);
          mask-image: radial-gradient(ellipse at 50% 35%, black 30%, transparent 85%);
}

.bg-hex-field {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hex {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 80px; height: 80px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,4 92,28 92,72 50,96 8,72 8,28' fill='none' stroke='%2300c0ff' stroke-width='1.5'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .12;
  animation: hex-orbit var(--orbit-d, 52s) linear infinite;
  animation-delay: var(--d, 0s);
  will-change: transform;
}
/* Hexes slowly drift around the screen while continuously rotating */
@keyframes hex-orbit {
  0%   { transform: translate(-50%, -50%) scale(var(--s, 1)) rotate(0deg); }
  20%  { transform: translate(calc(-50% + 70px), calc(-50% - 50px)) scale(calc(var(--s, 1) * 1.12)) rotate(80deg); }
  40%  { transform: translate(calc(-50% + 110px), calc(-50% + 40px)) scale(var(--s, 1)) rotate(150deg); }
  60%  { transform: translate(calc(-50% + 20px), calc(-50% + 80px)) scale(calc(var(--s, 1) * 0.92)) rotate(220deg); }
  80%  { transform: translate(calc(-50% - 70px), calc(-50% + 20px)) scale(calc(var(--s, 1) * 1.06)) rotate(300deg); }
  100% { transform: translate(-50%, -50%) scale(var(--s, 1)) rotate(360deg); }
}

main { position: relative; z-index: 2; }

/* ===========================================================
   Scroll progress + cursor follower
   =========================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--cyan-bright) 50%, var(--cyan) 70%, transparent);
  background-size: 200% 100%;
  transform: scaleX(0); transform-origin: left;
  z-index: 100; pointer-events: none;
  box-shadow: 0 0 12px var(--cyan-glow);
  animation: scroll-sheen 3s linear infinite;
}
@keyframes scroll-sheen { to { background-position: -200% 0; } }

/* Big soft glow that follows the cursor across the WHOLE page (fixed to viewport) */
.cursor-spotlight {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(650px 650px at var(--mx, 50%) var(--my, 35%), rgba(0, 192, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: background;
}
.cursor-spotlight.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-spotlight { display: none; } }

.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 22px; height: 22px; margin: -11px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 192, 255, 0.55), transparent 65%);
  pointer-events: none; z-index: 60;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease);
  will-change: transform;
}
.cursor-glow.is-hover { width: 50px; height: 50px; margin: -25px; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: fixed;
  top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px;
  padding: 8px 8px 8px 14px;
  background: rgba(10, 14, 22, 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 999px;
  z-index: 50;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  max-width: calc(100vw - 24px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: .14em;
  color: var(--text);
  font-weight: 500;
}
.brand-mark { display: block; }
.brand-name { white-space: nowrap; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 7px 13px;
  font-size: 13px;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cyan);
  color: #061018;
  font-weight: 600; font-size: 13px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(0,192,255,.15), 0 10px 30px rgba(0,192,255,.3);
}
.dot-live {
  width: 7px; height: 7px;
  background: #061018; border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .55; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  /* Proper balanced bar: logo left, CTA right — not a tiny floating pill */
  .nav {
    gap: 10px;
    padding: 7px 7px 7px 14px;
    top: 10px;
    width: calc(100% - 20px);
    max-width: 440px;
    justify-content: space-between;
  }
  .brand { min-width: 0; }
  .brand-name { font-size: 12px; white-space: nowrap; }
  .nav-cta {
    padding: 9px 16px;
    font-size: 12.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 360px) {
  .nav { padding: 6px 6px 6px 12px; }
  .brand-name { font-size: 11px; }
  .nav-cta { padding: 8px 13px; font-size: 12px; }
}

/* ===========================================================
   Layout helpers
   =========================================================== */
.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px;
}
@media (max-width: 720px) { .section { padding: 80px 20px; } }

.section-head { margin-bottom: 56px; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em;
  color: var(--cyan);
  text-transform: uppercase;
  border: 1px solid rgba(0,192,255,.3);
  border-radius: 999px;
  background: rgba(0, 192, 255, 0.05);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 14px;
  position: relative; display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute; left: 0; bottom: -10px;
  width: 0; height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--cyan-glow);
  transition: width 1s cubic-bezier(.22,1,.36,1) .25s;
}
[data-reveal].in .section-title::after,
.section-head.in .section-title::after { width: 52px; }
.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-dim);
  margin: 14px 0 0;
  max-width: 580px;
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  border: 1px solid var(--border-strong);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
  position: relative; overflow: hidden;
  text-decoration: none;
}
.btn-lg { padding: 16px 24px; font-size: 15px; }
.btn-primary {
  background: var(--cyan);
  border-color: transparent;
  color: #061018;
  font-weight: 600;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--cyan);
  filter: blur(24px);
  opacity: .3;
  z-index: -1;
  transition: opacity .4s var(--ease);
}
.btn-primary:hover { background: var(--cyan-bright); box-shadow: 0 0 0 4px rgba(0,192,255,.2), 0 20px 60px rgba(0,192,255,.35); }
.btn-primary:hover::after { opacity: .7; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(0,192,255,.4);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 150px 24px 130px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  transform: scale(calc(1 - var(--hero-s, 0) * 0.04));
  opacity: calc(1 - var(--hero-s, 0) * 0.4);
  transition: transform .05s linear, opacity .15s linear;
}
.hero-mark {
  width: 168px; height: 168px;
  position: relative;
  cursor: pointer;
  animation: hero-float 5s ease-in-out infinite;
  perspective: 700px;
}
.hero-mark::after {
  content: '';
  position: absolute; inset: -38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,192,255,.34), transparent 65%);
  z-index: -1;
  animation: pulse-glow 3.5s ease-in-out infinite;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.hero-mark img {
  width: 100%; height: 100%; display: block;
  transition: transform .4s var(--ease), filter .45s var(--ease);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) scale(var(--sc, 1));
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 14px rgba(0,192,255,.35));
}
/* Interactive hover — scales up, brightens, glow swells. Tilt is driven live by JS via --tx/--ty */
.hero-mark:hover { --sc: 1.14; }
.hero-mark:hover img { filter: drop-shadow(0 0 30px rgba(0,192,255,.75)); }
.hero-mark:hover::after { opacity: 1; transform: scale(1.3); }
.hero-mark:active { --sc: 1.06; }
@media (max-width: 480px) { .hero-mark { width: 128px; height: 128px; } }
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.06); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 6.6rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  margin: 0;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: 2px; }
.hero-title .line--accent .char-r { color: var(--cyan); }
.char-r {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%) scale(.9);
  filter: blur(6px);
  animation: char-in .6s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes char-in {
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.char-space { width: .3em; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0;
}
.hero-sub strong { color: var(--cyan); font-weight: 600; }

.hero-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 192, 255, 0.06);
  border: 1px solid rgba(0, 192, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .12em;
  color: var(--cyan);
  backdrop-filter: blur(8px);
}
.hero-live [data-stat="players-inline"] {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex; gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-socials {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social-pill svg { color: var(--cyan); transition: color .25s var(--ease); }
.social-pill:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: rgba(0,192,255,.35);
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  display: flex; justify-content: center;
  padding-top: 6px;
  opacity: calc(0.7 - var(--hero-s, 0) * 1.5);
  transition: opacity .2s linear;
}
.scroll-hint span {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===========================================================
   BIG STATS strip
   =========================================================== */
.bigstats {
  max-width: var(--max);
  margin: -80px auto 0;
  padding: 0 24px 100px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px;
  position: relative; z-index: 3;
  flex-wrap: wrap;
}
.bigstat {
  text-align: center;
  flex: 1;
  min-width: 260px;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0,192,255,.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.bigstat:hover { border-color: rgba(0,192,255,.4); transform: translateY(-3px); }
.bigstat::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0,192,255,.10), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.bigstat:hover::before { opacity: 1; }
.bigstat-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.bigstat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.bigstat-label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.bigstat-sep {
  width: 60px; height: 60px;
  opacity: .5;
}
@media (max-width: 760px) {
  .bigstats { margin-top: -40px; gap: 16px; padding-bottom: 60px; }
  .bigstat-sep { display: none; }
  .bigstat { min-width: unset; width: 100%; padding: 28px 24px; }
}

/* ===========================================================
   GAMES — featured layout
   =========================================================== */
.games-stack { display: flex; flex-direction: column; gap: 18px; }

.game-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.game-feature::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(0,192,255,.45) 0%, rgba(0,110,255,.3) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .5;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.game-feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 30px 70px rgba(0,192,255,.16); }
.game-feature:hover::before { opacity: 1; }
@media (max-width: 880px) {
  .game-feature { grid-template-columns: 1fr; }
}

.game-feature-art {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #131820, #0a0e15);
}
.game-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s var(--ease), filter .35s var(--ease);
}
.game-feature:hover .game-img { transform: scale(1.04); filter: brightness(1.08); }
.game-skel {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, #131820 30%, #1a212b 50%, #131820 70%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
}
.game-img.loaded ~ .game-skel { display: none; }
@keyframes skel { to { background-position: -200% 0; } }

.game-feature-overlay {
  position: absolute; top: 16px; left: 16px;
  display: flex; gap: 8px;
}
.game-live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 192, 255, 0.15);
  border: 1px solid rgba(0, 192, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .18em;
  font-weight: 600;
  color: var(--cyan);
  backdrop-filter: blur(8px);
}

.game-feature-info {
  padding: 38px 36px;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: center;
}
@media (max-width: 600px) { .game-feature-info { padding: 28px 24px; } }
.game-tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.game-feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0;
}
.game-feature-desc {
  color: var(--text-dim);
  margin: 0;
  font-size: 14.5px;
}
.game-feature-stats {
  display: flex; gap: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4px 0;
}
.gf-stat { display: flex; flex-direction: column; gap: 3px; }
.gf-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gf-stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.game-feature-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--cyan);
  color: #061018;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
  margin-top: 6px;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.game-feature:hover .game-feature-cta {
  background: var(--cyan-bright);
  box-shadow: 0 0 0 3px rgba(0,192,255,.2), 0 14px 40px rgba(0,192,255,.3);
  transform: translateX(2px);
}

/* Coming-soon row */
.game-soon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.game-soon:hover { border-color: rgba(0,192,255,.4); background: var(--surface-2); }
.game-soon-icon {
  color: var(--cyan);
  opacity: .6;
  animation: hex-spin 14s linear infinite;
}
@keyframes hex-spin { to { transform: rotate(360deg); } }
.game-soon-meta h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.game-soon-meta p { margin: 0; color: var(--text-dim); font-size: 13.5px; }
.game-soon-cta {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.game-soon-cta:hover { color: var(--cyan-bright); }
@media (max-width: 720px) {
  .game-soon { grid-template-columns: 1fr; text-align: center; gap: 12px; padding: 22px; }
  .game-soon-icon { margin: 0 auto; }
}

/* ===========================================================
   TEAM
   =========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 760px;
}
.member {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  position: relative;
}
.member:hover {
  transform: translateY(-3px);
  border-color: rgba(0,192,255,.35);
  background: var(--surface-2);
}
.member-avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft), #1a212b);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 24px;
  color: var(--cyan);
  z-index: -1;
}
.member-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.member-name-row { display: flex; align-items: center; gap: 6px; }
.member-name {
  font-weight: 600; font-size: 16px;
  color: var(--text);
  transition: color .25s var(--ease);
}
.member-name:hover { color: var(--cyan); }
.member-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.member-socials {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.member-social {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.member-social svg { color: var(--cyan); transition: transform .25s var(--ease); }
.member-social:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: rgba(0,192,255,.4);
  transform: translateY(-2px);
}
.member-social:hover svg { transform: scale(1.12); }

/* ===========================================================
   FAQ — animated accordion
   =========================================================== */
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 820px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq-item:hover { border-color: rgba(0,192,255,.25); }
.faq-item.is-open { border-color: rgba(0,192,255,.35); background: var(--surface-2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform .35s var(--ease);
}
.faq-icon::before {
  left: 0; right: 0; top: 50%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  transform: translateX(-50%);
}
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  padding: 0 24px;
}
.faq-a > * { padding-bottom: 22px; margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.65; max-width: 68ch; }
.faq-a a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0,192,255,.4); text-underline-offset: 3px; transition: text-decoration-color .25s var(--ease); }
.faq-a a:hover { text-decoration-color: var(--cyan); }

/* ===========================================================
   CONNECT
   =========================================================== */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .connect-grid { grid-template-columns: 1fr; } }
.connect-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.connect-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(0,192,255,.5) 55%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.connect-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0,192,255,.08), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.connect-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.connect-card:hover::before { opacity: 1; }
.connect-card:hover::after { opacity: 1; }

.connect-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0, 192, 255, 0.08);
  border: 1px solid rgba(0, 192, 255, 0.2);
  color: var(--cyan);
  transition: background .35s var(--ease);
}
.connect-card:hover .connect-icon { background: rgba(0, 192, 255, 0.16); }
.connect-meta { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.connect-tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.connect-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0;
}
.connect-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}
.connect-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color .25s var(--ease);
}
.connect-card:hover .connect-cta { color: var(--cyan-bright); }
.connect-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(0, 192, 255, 0.08);
  border: 1px solid rgba(0, 192, 255, 0.25);
  color: var(--cyan);
  font-size: 10.5px; letter-spacing: .12em;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.connect-copy:hover { background: rgba(0, 192, 255, 0.18); border-color: rgba(0, 192, 255, 0.5); }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.footer-left { display: inline-flex; align-items: center; gap: 10px; }
.footer-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.footer-top svg { color: var(--cyan); transition: transform .25s var(--ease); }
.footer-top:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: rgba(0,192,255,.4);
}
.footer-top:hover svg { transform: translateY(-3px); }
.footer-right { display: inline-flex; gap: 14px; }
.footer-right a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.footer-right a:hover { color: var(--cyan); background: var(--surface-2); border-color: rgba(0,192,255,.35); }

/* ===========================================================
   Scroll reveal
   =========================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-spotlight, .cursor-glow, .hex, .scroll-progress { display: none; }
  .char-r { opacity: 1; transform: none; filter: none; animation: none; }
}

/* ===========================================================
   Mobile polish
   =========================================================== */
@media (max-width: 480px) {
  .hero { padding: 130px 20px 100px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-socials { flex-direction: column; align-items: stretch; }
  .social-pill { justify-content: center; }
  .game-feature-info { padding: 24px 20px; }
  .game-feature-stats { gap: 18px; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
