/* ==========================================================================
   DRM Labs — Design System
   ========================================================================== */

:root {
  --bg: #0a0e27;
  --bg-alt: #0d1230;
  --card: #1a1f3a;
  --card-hover: #212748;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(108, 92, 231, 0.5);

  --text: #ffffff;
  --text-soft: #e0e0e0;
  --text-muted: #9aa0c3;

  --accent: #6c5ce7;
  --accent-2: #00b4db;
  --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);

  --success: #2ecc71;
  --warning: #ffb020;

  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 0;
}

body.loaded {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--card-hover);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Grain overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-center { text-align: center; margin-inline: auto; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  position: relative;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(108, 92, 231, 0.6);
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.4), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px -8px rgba(108, 92, 231, 0.75);
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.1);
  transform: translateY(-3px);
}

.btn-disabled {
  background: var(--card-hover);
  color: var(--text-muted);
  cursor: not-allowed;
  border: 1.5px solid var(--border);
}

.btn-disabled:hover { transform: none; }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

.badge-soon {
  background: rgba(255, 176, 32, 0.12);
  color: var(--warning);
  border: 1px solid rgba(255, 176, 32, 0.3);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(10, 14, 39, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 14, 39, 0.85);
  border-bottom-color: var(--border);
  height: 66px;
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  transition: transform var(--dur-fast) var(--ease);
}

.logo:hover { transform: scale(1.03); }

.logo-drm { color: var(--text); font-weight: 700; }
.logo-labs { color: var(--text-muted); font-weight: 500; margin-left: 0.3em; }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text);
}

.mobile-menu a:hover { color: var(--accent-2); }

/* ==========================================================================
   Hero / Background FX
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-page {
  min-height: 60vh;
}

.blob-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: var(--accent);
  top: -140px;
  left: -100px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--accent-2);
  bottom: -160px;
  right: -80px;
}

.blob-3 {
  width: 320px;
  height: 320px;
  background: #ff5da2;
  top: 40%;
  left: 55%;
  opacity: 0.22;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-inline: 24px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.05s forwards;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 1;
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.18s forwards;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.32s forwards;
}

.hero-tagline strong { color: var(--text-soft); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.46s forwards;
}

/* ---------- Hero split (home) + phone mockup ---------- */
.hero-split .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 2;
}

.hero-split .hero-content {
  text-align: left;
  margin: 0;
  max-width: 560px;
  padding-inline: 0;
}

.hero-split .hero-actions,
.hero-split .hero-tagline { margin-inline: 0; }

.hero-split .hero-actions { justify-content: flex-start; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.5s forwards;
}

.phone-mockup {
  width: 250px;
  height: 500px;
  border-radius: 40px;
  background: linear-gradient(160deg, #12172f, #191f42);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 90px -24px rgba(108, 92, 231, 0.5), inset 0 0 0 6px rgba(255, 255, 255, 0.03);
  position: relative;
  transform: rotateY(-10deg) rotateX(4deg);
  animation: float-phone 6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 5;
}

.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(108, 92, 231, 0.4), transparent 60%),
    linear-gradient(200deg, #0d1128, #141a3a);
}

.impact-glow {
  position: absolute;
  top: 34%;
  left: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(108, 92, 231, 0.25) 55%, transparent 75%);
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: pulse-core 2.6s ease-in-out infinite;
}

.impact-ring {
  position: absolute;
  top: 34%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 180, 219, 0.55);
  transform: translate(-50%, -50%);
  animation: ring-out 2.6s ease-out infinite;
}

.impact-ring.ring-2 { animation-delay: 0.9s; border-color: rgba(108, 92, 231, 0.5); }
.impact-ring.ring-3 { animation-delay: 1.8s; border-color: rgba(255, 93, 162, 0.4); }

.shard {
  position: absolute;
  top: 34%;
  left: 50%;
  animation: shard-drift 5s ease-in-out infinite alternate;
}

.shard-1 { width: 46px; height: 46px; background: linear-gradient(135deg, #6c5ce7, #8a7ef0); clip-path: polygon(0 0, 100% 20%, 70% 100%); transform: translate(-130px, -70px) rotate(-18deg); animation-delay: 0s; }
.shard-2 { width: 38px; height: 38px; background: linear-gradient(135deg, #00b4db, #4dd8f0); clip-path: polygon(0 30%, 100% 0, 60% 100%); transform: translate(70px, -110px) rotate(22deg); animation-delay: 0.4s; }
.shard-3 { width: 30px; height: 30px; background: linear-gradient(135deg, #ff5da2, #ff8bc0); clip-path: polygon(0 0, 100% 15%, 45% 100%); transform: translate(120px, 40px) rotate(-30deg); animation-delay: 0.8s; }
.shard-4 { width: 34px; height: 34px; background: linear-gradient(135deg, #8a7ef0, #6c5ce7); clip-path: polygon(15% 0, 100% 40%, 30% 100%); transform: translate(-100px, 90px) rotate(40deg); animation-delay: 1.2s; }
.shard-5 { width: 24px; height: 24px; background: linear-gradient(135deg, #4dd8f0, #00b4db); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translate(20px, 130px) rotate(12deg); animation-delay: 1.6s; opacity: 0.85; }
.shard-6 { width: 20px; height: 20px; background: linear-gradient(135deg, #ff8bc0, #ff5da2); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translate(-40px, -160px) rotate(-10deg); animation-delay: 2s; opacity: 0.8; }

.phone-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

@keyframes float-phone {
  0%, 100% { transform: rotateY(-10deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-14px); }
}

@keyframes pulse-core {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  50% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
}

@keyframes ring-out {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

@keyframes shard-drift {
  from { translate: 0 0; filter: brightness(1); }
  to { translate: 0 -10px; filter: brightness(1.15); }
}

@media (max-width: 900px) {
  .hero-split .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-split .hero-content { text-align: center; margin-inline: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .phone-mockup { width: 210px; height: 420px; transform: none; }
  @keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }
}

@media (max-width: 480px) {
  .hero-visual { display: none; }
}

.hero-page .hero-content {
  padding-top: 12px;
}

.hero-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.hero-page .hero-tagline { max-width: 620px; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) 0.7s forwards;
}

.scroll-cue .stick {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--border-hover);
  border-radius: 12px;
  position: relative;
}

.scroll-cue .stick::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: var(--accent-2);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; top: 6px; }
  60% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

/* ==========================================================================
   Stats strip
   ========================================================================== */

.stats-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 40px;
}

.stat {
  text-align: center;
  padding-inline: 12px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Reveal-on-scroll utility
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* stagger delays applied via inline style or nth-child helpers */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 0.09s);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.game-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
  border-radius: inherit;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--card);
  border-radius: inherit;
  transition: background var(--dur-fast) var(--ease);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(108, 92, 231, 0.35);
}

.game-card:hover::before { opacity: 1; }
.game-card:hover::after { background: var(--card-hover); }

.game-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.game-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 28px -10px rgba(108, 92, 231, 0.6);
  transition: transform var(--dur-med) var(--ease);
}

.game-card:hover .game-icon {
  transform: rotate(-8deg) scale(1.08);
}

.game-icon svg { width: 34px; height: 34px; }

.game-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.game-card > p.game-desc {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 1rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-2);
}

.game-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* Ghost / coming-soon placeholder card */
.ghost-card {
  border: 1.5px dashed var(--border);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  gap: 14px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.ghost-card:hover {
  border-color: var(--border-hover);
  background: rgba(108, 92, 231, 0.04);
}

.ghost-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px dashed var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--text-muted);
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.ghost-card h4 {
  font-size: 1.1rem;
  color: var(--text-soft);
}

.ghost-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Value / feature cards (About / Home "why") */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: left;
}

.value-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-2);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.value-card:hover .icon-wrap {
  background: var(--accent-grad);
  color: #fff;
  transform: scale(1.08);
}

.value-card .icon-wrap svg { width: 26px; height: 26px; }

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 64px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(108, 92, 231, 0.18), rgba(0, 180, 219, 0.12));
  border: 1px solid var(--border-hover);
  isolation: isolate;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(108, 92, 231, 0.35), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 180, 219, 0.28), transparent 55%);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.newsletter-form input[type="email"]::placeholder { color: var(--text-muted); }

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.newsletter-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--success);
  font-weight: 600;
  font-family: var(--font-head);
  padding: 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.newsletter-success.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.newsletter-form.hide,
.newsletter-note.hide { display: none; }

/* ==========================================================================
   Content pages (About / Privacy)
   ========================================================================== */

.content-block {
  max-width: 760px;
}

.content-block + .content-block { margin-top: 64px; }

.content-block .eyebrow { margin-bottom: 14px; }

.content-block h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  margin-bottom: 18px;
}

.content-block p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.content-block .lede {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.checklist {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--text-soft);
}

.checklist li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

.building-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-top: 22px;
}

.building-card .game-icon { width: 56px; height: 56px; border-radius: 14px; }
.building-card .game-icon svg { width: 28px; height: 28px; }

.building-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.building-card p { color: var(--text-muted); font-size: 0.92rem; }

.building-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(108, 92, 231, 0.35);
}

.contact-cta {
  text-align: center;
  padding: clamp(56px, 9vw, 100px) 0 0;
}

.contact-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.contact-cta p {
  color: var(--text-muted);
  margin-bottom: 34px;
  font-size: 1.05rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
  padding: 18px 34px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all var(--dur-fast) var(--ease);
}

.email-link:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.1);
  transform: translateY(-3px) scale(1.02);
  color: var(--accent-2);
}

.email-link svg { width: 24px; height: 24px; }

/* ==========================================================================
   Privacy Policy specific
   ========================================================================== */

.policy-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  justify-content: center;
  margin-top: 10px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.toc a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  transition: all var(--dur-fast) var(--ease);
}

.toc a:hover {
  background: var(--accent-grad);
  color: #fff;
  transform: translateY(-2px);
}

.policy-section {
  padding-block: 34px;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.policy-section:first-of-type { border-top: none; }

.policy-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.policy-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.policy-section p { color: var(--text-soft); margin-bottom: 14px; }

.policy-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 20px 24px;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.policy-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-2);
}

.policy-list.no-list li svg { color: #ff6b6b; }

.policy-highlight {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.08);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  margin-top: 16px;
}

.policy-section a.inline-link {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}

.policy-section a.inline-link:hover { color: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-block: 56px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 14px; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 12px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--dur-fast) var(--ease);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}

.back-to-top:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.12);
  transform: translateY(-3px);
}

.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav-links,
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }

  .value-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .card { padding: 26px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .game-card-footer { flex-direction: column; align-items: stretch; }
  .toc { padding: 14px; }
  .email-link { padding: 16px 24px; font-size: 1.1rem; }
}
