:root {
  --bg: #0a0a12;
  --bg-soft: #11111d;
  --card: #16162a;
  --text: #e8e8f0;
  --muted: #9a9ab0;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --border: rgba(255, 255, 255, 0.08);
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .nav__logo-text { font-family: "Orbitron", sans-serif; }

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  backdrop-filter: blur(10px);
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}
.nav__logo-text { font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; }
.nav__links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 88vh;
  padding: 80px 24px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 30% 20%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(600px 400px at 75% 60%, rgba(6, 182, 212, 0.25), transparent 60%);
  filter: blur(30px);
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__eyebrow {
  letter-spacing: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.hero__title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; }
.hero__sub { color: var(--muted); font-size: 1.1rem; margin: 22px auto 0; max-width: 600px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: "Orbitron", sans-serif; font-size: 1.6rem; }
.hero__stats span { color: var(--muted); font-size: 0.85rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(124, 58, 237, 0.55); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-2); transform: translateY(-2px); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 90px 24px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature__icon { font-size: 2rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* Games */
.games__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.game {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.game__art {
  height: 180px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(124, 58, 237, 0.25), rgba(6, 182, 212, 0.12) 70%, transparent);
}
.game__art img {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.game__body { padding: 22px; }
.game__body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.game__body p { color: var(--muted); font-size: 0.95rem; }
.game__stores { display: flex; gap: 10px; margin-top: 16px; }
.badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.15s ease;
}
.badge:hover { color: var(--text); border-color: var(--accent-2); }

/* Contact */
.contact { display: grid; place-items: center; }
.contact__card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  max-width: 640px;
  width: 100%;
}
.contact__card .btn { margin-top: 26px; }
.contact__social { display: flex; gap: 26px; justify-content: center; margin-top: 30px; color: var(--muted); font-weight: 500; }
.contact__social a:hover { color: var(--text); }

/* Footer */
.footer { text-align: center; padding: 40px 24px; color: var(--muted); border-top: 1px solid var(--border); font-size: 0.9rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__stats { gap: 28px; }
}
