/* MotionInput Games — 2026 Commercial, Developer & Investor Design System
   Pure CSS3 | Sector Classification:
   - Gaming: Neon Blue (#00f3ff)
   - Accessibility: Halo Orange (#ff9d00)
   - Retail & Industry: Purple (#bd00ff)
*/

:root {
  --bg: #07090f;
  --bg-2: #0b1222;
  --panel: #0e1a2e;
  --panel-glass: rgba(14, 26, 46, 0.78);
  --deep: #1a3a5c;

  /* Sector Accents */
  --gaming: #00f3ff;
  --access: #ff9d00;
  --industry: #bd00ff;

  /* Text & Surfaces */
  --ink: #eef7fb;
  --ink-2: #a9c3d3;
  --muted: #7f9bb0;
  --line: rgba(0, 243, 255, 0.16);
  --line-soft: rgba(169, 195, 211, 0.14);

  /* Typography */
  --display: 'Orbitron', 'Segoe UI', sans-serif;
  --body: 'Roboto', 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(189, 0, 255, 0.14), transparent 60%),
    radial-gradient(900px 520px at -8% 18%, rgba(0, 243, 255, 0.10), transparent 60%),
    radial-gradient(700px 440px at 50% 95%, rgba(255, 157, 0, 0.06), transparent 65%);
  overflow-x: hidden;
  min-height: 100vh;
}

.grid-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0, 243, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 243, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

a {
  color: var(--gaming);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--access);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 300;
  background: var(--access);
  color: #07090f;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.015em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

.mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* Header & Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(7, 9, 15, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  background: #f3f8fb;
  border-radius: 10px;
  padding: 3px;
  box-shadow: 0 0 0 1px var(--line);
}

.brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--gaming);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(0, 243, 255, 0.08);
  text-decoration: none;
}

.nav a.active {
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav a.nav-gaming.active,
.nav a.nav-gaming:hover {
  color: var(--gaming);
  background: rgba(0, 243, 255, 0.10);
}

.nav a.nav-access.active,
.nav a.nav-access:hover {
  color: var(--access);
  background: rgba(255, 157, 0, 0.10);
  box-shadow: inset 0 0 0 1px rgba(255, 157, 0, 0.3);
}

.nav a.nav-industry.active,
.nav a.nav-industry:hover {
  color: #df80ff;
  background: rgba(189, 0, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(189, 0, 255, 0.35);
}

.nav .nav-cta {
  background: var(--gaming);
  color: #04121a;
  font-weight: 700;
  margin-left: 4px;
}

.nav .nav-cta:hover {
  background: #7ff9ff;
  color: #04121a;
}

.motion-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 11px;
  font: 500 0.72rem var(--mono);
  cursor: pointer;
  flex-shrink: 0;
}

.motion-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gaming);
}

.motion-btn[aria-pressed="true"] .dot {
  background: var(--muted);
}

.theme-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 11px;
  font: 500 0.72rem var(--mono);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.theme-btn:hover {
  border-color: var(--gaming);
  color: var(--ink);
}

/* Light Mode Theme Overrides (Default is Dark Mode) */
body.light-mode {
  --bg: #f4f7fb;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-glass: rgba(255, 255, 255, 0.92);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: rgba(0, 128, 179, 0.22);
  --line-soft: rgba(15, 23, 42, 0.12);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(189, 0, 255, 0.08), transparent 60%),
    radial-gradient(900px 520px at -8% 18%, rgba(0, 180, 216, 0.08), transparent 60%),
    radial-gradient(700px 440px at 50% 95%, rgba(255, 157, 0, 0.06), transparent 65%);
}

body.light-mode .grid-backdrop {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

body.light-mode .topbar {
  background: rgba(255, 255, 255, 0.88);
}

body.light-mode .nav {
  background: transparent;
}

body.light-mode .nav.open {
  background: rgba(255, 255, 255, 0.98);
}

body.light-mode .bars,
body.light-mode .bars::before,
body.light-mode .bars::after {
  background: var(--ink);
}

body.light-mode a {
  color: #0284c7;
}

body.light-mode .glow {
  color: #0099cc;
  text-shadow: none;
}

body.light-mode .glow-access {
  color: #d97706;
  text-shadow: none;
}

body.light-mode .glow-industry {
  color: #9333ea;
  text-shadow: none;
}

body.light-mode .outline {
  -webkit-text-stroke: 1.8px #d97706;
}

body.light-mode .kicker {
  color: #0284c7;
}

body.light-mode .kicker.access {
  color: #d97706;
}

body.light-mode .kicker.industry {
  color: #9333ea;
}

body.light-mode .pill {
  color: #0369a1;
  background: rgba(0, 180, 216, 0.12);
  border-color: rgba(0, 180, 216, 0.35);
}

body.light-mode .pill.access {
  color: #b45309;
  background: rgba(255, 157, 0, 0.14);
  border-color: rgba(217, 119, 6, 0.35);
}

body.light-mode .pill.industry {
  color: #7e22ce;
  background: rgba(189, 0, 255, 0.10);
  border-color: rgba(147, 51, 234, 0.35);
}

body.light-mode .pill.free {
  color: #15803d;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(22, 163, 74, 0.35);
}

body.light-mode .btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(15, 23, 42, 0.24);
}

body.light-mode .btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px #0284c7;
  color: #0284c7;
}

body.light-mode .ticker {
  background: #e9eff7;
}

body.light-mode .hero-media-cap {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-2);
}

body.light-mode .stat-num {
  color: #0284c7;
}

body.light-mode .stat-box.access .stat-num {
  color: #d97706;
}

body.light-mode .stat-box.industry .stat-num {
  color: #9333ea;
}

body.light-mode .team-role {
  color: #0284c7;
}

body.light-mode .site-footer {
  background: #e9eff7;
}

body.light-mode .card {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.light-mode .modal-backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s;
}

.bars::before,
.bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.bars::before { top: -6px; }
.bars::after { top: 6px; }

/* Container & Sections */
.container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section {
  padding: clamp(48px, 6vw, 84px) 0;
}

.section-tight {
  padding: clamp(32px, 4vw, 52px) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-head p {
  max-width: 62ch;
  margin: 0;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gaming);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.kicker.access { color: var(--access); }
.kicker.industry { color: #df80ff; }

.blink {
  width: 8px;
  height: 8px;
  background: var(--access);
  border-radius: 50%;
  animation: blink 1.4s infinite;
  display: inline-block;
}

.glow {
  color: var(--gaming);
  text-shadow: 0 0 28px rgba(0, 243, 255, 0.38);
}

.glow-access {
  color: var(--access);
  text-shadow: 0 0 26px rgba(255, 157, 0, 0.38);
}

.glow-industry {
  color: #df80ff;
  text-shadow: 0 0 26px rgba(189, 0, 255, 0.42);
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1.8px var(--access);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font: 700 0.84rem var(--display);
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gaming);
  color: #04121a;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
}

.btn-primary:hover {
  background: #7ff9ff;
}

.btn-access {
  background: var(--access);
  color: #110900;
  box-shadow: 0 0 20px rgba(255, 157, 0, 0.25);
}

.btn-access:hover {
  background: #ffb84d;
}

.btn-industry {
  background: var(--industry);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(189, 0, 255, 0.30);
}

.btn-industry:hover {
  background: #d14dff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(238, 247, 251, 0.32);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--gaming);
  color: var(--gaming);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.76rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: clamp(36px, 6vw, 76px) 0 48px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 243, 255, 0.12);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media-cap {
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: rgba(7, 9, 15, 0.88);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat-box {
  background: var(--panel-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
}

.stat-num {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--gaming);
  line-height: 1.1;
}

.stat-box.access .stat-num { color: var(--access); }
.stat-box.industry .stat-num { color: #df80ff; }

.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(11, 18, 34, 0.8);
  padding: 11px 0;
  margin: 12px 0;
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-transform: uppercase;
}

.ticker-track span::before {
  content: '■';
  color: var(--gaming);
  margin-right: 12px;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

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

.card {
  background: var(--panel-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

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

.card-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  margin-bottom: 4px;
}

/* Sector Cards */
.sector-gaming {
  border-color: rgba(0, 243, 255, 0.28);
}
.sector-gaming:hover {
  border-color: var(--gaming);
  box-shadow: 0 12px 32px rgba(0, 243, 255, 0.14);
}

.sector-access {
  border-color: rgba(255, 157, 0, 0.28);
}
.sector-access:hover {
  border-color: var(--access);
  box-shadow: 0 12px 32px rgba(255, 157, 0, 0.14);
}

.sector-industry {
  border-color: rgba(189, 0, 255, 0.30);
}
.sector-industry:hover {
  border-color: var(--industry);
  box-shadow: 0 12px 32px rgba(189, 0, 255, 0.16);
}

/* Pills & Badges */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 243, 255, 0.32);
  background: rgba(0, 243, 255, 0.10);
  color: var(--gaming);
  width: fit-content;
}

.pill.access {
  border-color: rgba(255, 157, 0, 0.35);
  background: rgba(255, 157, 0, 0.12);
  color: var(--access);
}

.pill.industry {
  border-color: rgba(189, 0, 255, 0.40);
  background: rgba(189, 0, 255, 0.14);
  color: #e299ff;
}

.pill.free {
  border-color: rgba(34, 197, 94, 0.40);
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

.price-tag {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.card-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  background: var(--panel);
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 16px;
  font: 500 0.8rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: #04121a;
  background: var(--gaming);
  border-color: var(--gaming);
}

.filter-btn[data-filter="access"].active {
  background: var(--access);
  border-color: var(--access);
}

.filter-btn[data-filter="industry"].active {
  background: var(--industry);
  border-color: var(--industry);
  color: #fff;
}

/* Partners Strip */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  align-items: center;
}

.partner-item {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.partner-item img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

/* Video Grid */
.video-card {
  background: var(--panel-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-cap {
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.team-card {
  background: var(--panel-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gaming);
}

.team-initials {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.18), rgba(189, 0, 255, 0.22));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.team-role {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--gaming);
  margin: 0;
}

/* Icon cards (Features / Conditions) */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Legal / Longform */
.prose {
  max-width: 84ch;
  background: var(--panel-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 1.6em;
  color: var(--gaming);
}

.prose ul {
  padding-left: 20px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 15, 0.92);
  margin-top: 48px;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gaming);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-links a:hover {
  color: var(--gaming);
  border-color: var(--gaming);
  background: rgba(0, 243, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Modal Popup */
.clickable-card {
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(4, 7, 16, 0.80);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  max-width: 440px;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--gaming);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 243, 255, 0.16);
}

/* Reveal & Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 15, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 6px;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 10px 14px;
  }
  .motion-btn {
    display: none;
  }
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
