/* =============================================================
   Zepleron Studios — main stylesheet
   Dark, cinematic, multiplayer-studio aesthetic.
   Palette derived from the pitch deck:
     navy 0a0f1f · cyan 00d4e8 · pink ff3568 · yellow ffd93d
   ============================================================= */

/* ---------- 1. Reset & base ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; padding: 0; }

/* ---------- 2. Design tokens ----------------------------------- */
:root {
  /* Colors */
  --bg-0:      #060915;   /* deepest */
  --bg-1:      #0a0f1f;   /* base (matches pitch deck) */
  --bg-2:      #111a2e;   /* elevated panels */
  --bg-3:      #15203b;   /* cards */
  --bg-4:      #1b2a4a;   /* hover / accent bg */
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --ink-1:     #eaf0fb;   /* primary text */
  --ink-2:     #a7b0c6;   /* secondary text */
  --ink-3:     #6c768e;   /* muted / meta */

  --c-cyan:    #00d4e8;   /* brand primary */
  --c-cyan-2:  #22f0ff;
  --c-pink:    #ff3568;   /* brand secondary */
  --c-pink-2:  #ff6b8e;
  --c-yellow:  #ffd93d;   /* accent */
  --c-green:   #22e08a;

  /* Typography */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --step--1:   clamp(0.83rem, 0.81rem + 0.1vw, 0.9rem);
  --step-0:    clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:    clamp(1.2rem, 1.12rem + 0.4vw, 1.35rem);
  --step-2:    clamp(1.44rem, 1.30rem + 0.7vw, 1.7rem);
  --step-3:    clamp(1.73rem, 1.49rem + 1.2vw, 2.2rem);
  --step-4:    clamp(2.08rem, 1.68rem + 2vw, 3rem);
  --step-5:    clamp(2.5rem, 1.85rem + 3.2vw, 4rem);
  --step-6:    clamp(3rem, 1.9rem + 5.4vw, 6rem);
  --step-7:    clamp(3.6rem, 2rem + 8vw, 8rem);

  /* Spacing */
  --s-1:       4px;
  --s-2:       8px;
  --s-3:       12px;
  --s-4:       16px;
  --s-5:       24px;
  --s-6:       32px;
  --s-7:       48px;
  --s-8:       64px;
  --s-9:       96px;
  --s-10:      128px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1400px;
  --radius-1:  6px;
  --radius-2:  12px;
  --radius-3:  20px;

  /* Effects */
  --glow-cyan:   0 0 0 1px rgba(0,212,232,0.35), 0 8px 40px -10px rgba(0,212,232,0.45);
  --glow-pink:   0 0 0 1px rgba(255,53,104,0.35), 0 8px 40px -10px rgba(255,53,104,0.45);
  --glow-yellow: 0 0 0 1px rgba(255,217,61,0.35), 0 8px 40px -10px rgba(255,217,61,0.45);
  --shadow-1:    0 4px 24px -8px rgba(0,0,0,0.5);
  --shadow-2:    0 24px 48px -16px rgba(0,0,0,0.6);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 3. Base body --------------------------------------- */
body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--bg-1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  /* Subtle grain + vertical gradient */
  background-image:
    radial-gradient(1200px 600px at 15% -10%, rgba(0,212,232,0.12), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(255,53,104,0.09), transparent 65%),
    radial-gradient(1400px 800px at 50% 100%, rgba(255,217,61,0.05), transparent 70%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-1) 100%);
  background-attachment: fixed;
}

/* Noise overlay for cinematic feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--c-cyan); color: var(--bg-0); }

/* ---------- 4. Typography -------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-1);
}
h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-cyan);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow--pink { color: var(--c-pink); }
.eyebrow--yellow { color: var(--c-yellow); }
.eyebrow--muted { color: var(--ink-3); }

.lead {
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 55ch;
}
.small { font-size: var(--step--1); color: var(--ink-3); }
.mono { font-family: var(--f-mono); }

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-cyan-2) 40%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-warm {
  background: linear-gradient(135deg, var(--c-pink) 0%, var(--c-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Layout ------------------------------------------ */
.wrap { position: relative; z-index: 2; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.container--wide { max-width: var(--container-wide); }

section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-head {
  margin-bottom: var(--s-8);
  max-width: 820px;
}
.section-head h2 { margin-top: var(--s-3); }
.section-head .lead { margin-top: var(--s-5); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }

/* ---------- 6. Header ------------------------------------------ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--s-4) 0;
  transition: background .25s var(--ease), backdrop-filter .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10,15,31,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: var(--ink-1);
}
.brand__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-pink));
  color: var(--bg-0);
  font-weight: 800;
  box-shadow: var(--glow-cyan);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav__links {
  display: flex; gap: var(--s-6);
  list-style: none;
}
.nav__links a {
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color .2s var(--ease);
  position: relative;
}
.nav__links a:hover { color: var(--ink-1); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--c-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-3);
  transition: all .2s var(--ease);
}
.lang-switch a.active {
  background: var(--c-cyan);
  color: var(--bg-0);
  font-weight: 600;
}
.lang-switch a:hover:not(.active) { color: var(--ink-1); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center; justify-content: center;
  color: var(--ink-1);
}

/* ---------- 7. Buttons ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s var(--ease), color .2s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn--primary {
  background: var(--c-cyan);
  color: var(--bg-0);
  box-shadow: 0 10px 30px -10px rgba(0,212,232,0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0,212,232,0.8); }
.btn--ghost {
  background: transparent;
  color: var(--ink-1);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--c-cyan); color: var(--c-cyan); }
.btn--pink {
  background: var(--c-pink);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,53,104,0.6);
}
.btn--pink:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- 8. Hero -------------------------------------------- */
.hero {
  padding-top: clamp(130px, 18vh, 180px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  position: relative;
}

/* Subtle grid background */
.hero__grid {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 80%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-9);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__content { max-width: 640px; }
.hero__title {
  font-size: var(--step-7);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-top: var(--s-5);
}
.hero__title .line-2 {
  display: block;
  background: linear-gradient(120deg, var(--c-cyan) 0%, var(--c-cyan-2) 60%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: var(--step-2);
  color: var(--ink-2);
  margin-top: var(--s-6);
  max-width: 30ch;
  line-height: 1.3;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-cyan);
}
.hero__meta span:nth-child(2)::before { background: var(--c-pink); }
.hero__meta span:nth-child(3)::before { background: var(--c-yellow); }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

/* Right-side featured visual */
.hero__visual {
  position: relative;
}
.hero__frame {
  position: relative;
  border-radius: var(--radius-3);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 10;
  transform: perspective(1600px) rotateY(-4deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.hero__frame:hover { transform: perspective(1600px) rotateY(0deg) rotateX(0deg); }
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,212,232,0.15));
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  top: var(--s-4); left: var(--s-4);
  background: rgba(0,212,232,0.12);
  border: 1px solid rgba(0,212,232,0.4);
  color: var(--c-cyan);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0,212,232,0.2);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.15); }
}

/* ---------- 9. Vision strip ------------------------------------ */
.strip {
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,212,232,0.03), transparent);
  text-align: center;
}
.strip__quote {
  font-family: var(--f-display);
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--ink-2);
  max-width: 920px;
  margin: 0 auto;
  letter-spacing: -0.015em;
}
.strip__quote em {
  font-style: normal;
  color: var(--ink-1);
}
.strip__dots {
  color: var(--c-cyan);
  font-weight: 700;
  margin: 0 6px;
}

/* ---------- 10. Games section --------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-5);
}
.game-card {
  position: relative;
  border-radius: var(--radius-3);
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.game-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.game-card__media img, .game-card__media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.game-card:hover .game-card__media img { transform: scale(1.03); }
.game-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,31,0.85));
  pointer-events: none;
}

.game-card__body {
  padding: var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.game-card__title {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--step-2);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.game-card__icon {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; font-weight: 800;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
}
.game-card[data-brand="cyan"] .game-card__icon   { color: var(--c-cyan);   border-color: rgba(0,212,232,0.35); background: rgba(0,212,232,0.08); }
.game-card[data-brand="pink"] .game-card__icon   { color: var(--c-pink);   border-color: rgba(255,53,104,0.35); background: rgba(255,53,104,0.08); }
.game-card[data-brand="yellow"] .game-card__icon { color: var(--c-yellow); border-color: rgba(255,217,61,0.35); background: rgba(255,217,61,0.08); }

.game-card__desc { color: var(--ink-2); line-height: 1.55; }
.game-card__specs {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.game-card__specs dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.game-card__specs dd { color: var(--ink-1); margin: 0; }

.game-card__tag {
  position: absolute; top: var(--s-4); left: var(--s-4);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.tag--live {
  background: rgba(0,212,232,0.15);
  border: 1px solid rgba(0,212,232,0.45);
  color: var(--c-cyan);
}
.tag--live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0,212,232,0.2);
  animation: pulse 2s var(--ease) infinite;
}
.tag--soon {
  background: rgba(255,217,61,0.1);
  border: 1px solid rgba(255,217,61,0.35);
  color: var(--c-yellow);
}
.tag--dev {
  background: rgba(255,53,104,0.12);
  border: 1px solid rgba(255,53,104,0.4);
  color: var(--c-pink);
}

.game-card--featured { grid-row: span 1; }
.game-card--featured .game-card__media { aspect-ratio: 16/9; }
.game-card--featured .game-card__body { padding: var(--s-7); }

/* Placeholder art for "Coming Soon" cards */
.placeholder-art {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,53,104,0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,212,232,0.2), transparent 50%),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
  position: relative;
  overflow: hidden;
}
.placeholder-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.placeholder-art__inner {
  position: relative; z-index: 1;
  text-align: center;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.placeholder-art__glyph {
  font-size: 3rem; margin-bottom: var(--s-3);
  opacity: 0.6;
}
.placeholder-art[data-brand="pink"]   .placeholder-art__glyph { color: var(--c-pink); }
.placeholder-art[data-brand="yellow"] .placeholder-art__glyph { color: var(--c-yellow); }

/* Ride Or Die featured video block */
.featured-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-3);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-3);
  margin-bottom: var(--s-6);
}
.featured-video video { width: 100%; height: 100%; object-fit: cover; }
.featured-video__controls {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
  color: var(--ink-1);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ---------- 11. Technology ------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.tech-card {
  padding: var(--s-7);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c-cyan);
  border-radius: var(--radius-2);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.tech-card:hover { border-left-color: var(--c-cyan-2); background: var(--bg-3); }
.tech-card--pink   { border-left-color: var(--c-pink); }
.tech-card--pink:hover { border-left-color: var(--c-pink-2); }
.tech-card--yellow { border-left-color: var(--c-yellow); }
.tech-card__label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: var(--s-3);
  display: flex; align-items: center; gap: var(--s-3);
}
.tech-card--pink .tech-card__label   { color: var(--c-pink); }
.tech-card--yellow .tech-card__label { color: var(--c-yellow); }
.tech-card__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: currentColor;
  color: var(--bg-0);
}
.tech-card__icon svg { width: 16px; height: 16px; }
.tech-card h3 { font-size: var(--step-1); margin-bottom: var(--s-3); }
.tech-card p { color: var(--ink-2); }

.stats-strip {
  margin-top: var(--s-7);
  padding: var(--s-6) var(--s-7);
  border-radius: var(--radius-2);
  background: linear-gradient(135deg, rgba(0,212,232,0.08), rgba(255,53,104,0.05));
  border: 1px solid var(--line);
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.stat { text-align: center; flex: 1; min-width: 140px; }
.stat__num {
  font-family: var(--f-display);
  font-size: var(--step-5);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-cyan);
  line-height: 1;
}
.stat:nth-child(2) .stat__num { color: var(--c-pink); }
.stat:nth-child(3) .stat__num { color: var(--c-yellow); }
.stat__label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: var(--s-2);
}

/* ---------- 12. Team ------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.team-card__photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: saturate(0.9) contrast(1.02);
}
.team-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,15,31,0.4));
}
.team-card__body { padding: var(--s-6) var(--s-7); }
.team-card__role {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: var(--s-2);
}
.team-card--pink .team-card__role { color: var(--c-pink); }
.team-card__name {
  font-family: var(--f-display);
  font-size: var(--step-3);
  font-weight: 700;
  margin-bottom: var(--s-4);
}
.team-card__bullets {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: var(--s-2);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.team-card__bullets li { padding-left: var(--s-4); position: relative; }
.team-card__bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 2px; background: var(--c-cyan);
}
.team-card--pink .team-card__bullets li::before { background: var(--c-pink); }

.team-note {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: rgba(255,217,61,0.05);
  border: 1px solid rgba(255,217,61,0.2);
  border-left: 3px solid var(--c-yellow);
  border-radius: var(--radius-2);
  font-size: 0.95rem;
  color: var(--ink-2);
  font-style: italic;
}

/* ---------- 13. Contact / CTA --------------------------------- */
.cta {
  position: relative;
  margin: var(--s-9) auto;
  padding: clamp(48px, 8vw, 80px);
  border-radius: var(--radius-3);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(0,212,232,0.12), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255,53,104,0.1), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: var(--container);
}
.cta h2 { margin-bottom: var(--s-5); font-size: var(--step-4); }
.cta__lead { color: var(--ink-2); max-width: 50ch; }
.cta__form {
  margin-top: var(--s-6);
  display: flex;
  gap: var(--s-3);
  max-width: 480px;
  flex-wrap: wrap;
}
.cta__form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  color: var(--ink-1);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.cta__form input:focus { border-color: var(--c-cyan); background: rgba(0,212,232,0.06); }
.cta__form input::placeholder { color: var(--ink-3); }
.cta__note {
  margin-top: var(--s-3);
  font-size: 0.8rem;
  color: var(--ink-3);
}
.cta__success {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: 12px;
  background: rgba(34,224,138,0.08);
  border: 1px solid rgba(34,224,138,0.3);
  color: var(--c-green);
  font-size: 0.92rem;
  display: none;
}
.cta__success.show { display: block; }

/* Contact info */
.contact-grid {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
.contact-card {
  padding: var(--s-6);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
}
.contact-card__role {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: var(--s-2);
}
.contact-card--pink .contact-card__role { color: var(--c-pink); }
.contact-card__name {
  font-family: var(--f-display);
  font-size: var(--step-2);
  font-weight: 700;
  margin-bottom: var(--s-4);
}
.contact-card__links {
  display: flex; flex-direction: column; gap: var(--s-2);
}
.contact-card__links a {
  color: var(--ink-2);
  transition: color .2s var(--ease);
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 0.95rem;
}
.contact-card__links a:hover { color: var(--c-cyan); }

/* ---------- 14. Footer ---------------------------------------- */
.footer {
  margin-top: var(--s-9);
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
}
.footer__meta {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.socials {
  display: inline-flex; gap: var(--s-3);
  list-style: none; padding: 0;
}
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.socials a:hover {
  color: var(--c-cyan);
  border-color: var(--c-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(0,212,232,0.4);
}
.socials svg { width: 18px; height: 18px; }

/* ---------- 15. Reveal animations ------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- 16. Responsive ------------------------------------ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero__visual { max-width: 560px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card--featured { grid-column: span 2; }
  .tech-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    padding: var(--s-5);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-2);
    gap: var(--s-4);
    box-shadow: var(--shadow-2);
  }

  .hero__title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .games-grid { grid-template-columns: 1fr; }
  .game-card--featured { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card__photo { aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-direction: column; align-items: stretch; gap: var(--s-4); }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: var(--s-4); }
  .stat:last-child { border-bottom: none; }
  .footer__inner { justify-content: center; text-align: center; }
}
