:root {
  --bg: #0d0820;
  --bg-2: #160d33;
  --card: #1c1240;
  --line: #34226b;
  --text: #f1ecff;
  --muted: #b3a8d6;
  --purple: #8b3dff;
  --purple-2: #b26bff;
  --gold: #ffc533;
  --radius: 18px;
  --display: "Fredoka", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #2b1366 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, sans-serif;
  min-height: 100vh;
}

a { color: var(--purple-2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 18px 20px;
}
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--text); }
.brand img, .hero-logo, .center img { border-radius: 50%; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 22px var(--display); }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: linear-gradient(180deg, var(--purple-2), var(--purple));
  color: #fff; font: 600 17px var(--display); text-decoration: none;
  box-shadow: 0 8px 24px -8px var(--purple), inset 0 -3px 0 rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--purple), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-ghost { background: transparent; border: 2px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--purple-2); box-shadow: none; }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  max-width: 1120px; margin: 0 auto; padding: 48px 20px 72px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.gold { color: var(--gold); }
.eyebrow { color: var(--purple-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 19px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo { justify-self: center; filter: drop-shadow(0 0 60px rgba(139, 61, 255, .45)); animation: float 6s ease-in-out infinite; }

@keyframes float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } html { scroll-behavior: auto; } }

.section { max-width: 1120px; margin: 0 auto; padding: 56px 20px; }
.section h2 { font-size: 40px; }

.game {
  display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.game img { width: 100%; height: 100%; object-fit: cover; }
.game-body { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.game-body h3 { font-size: 36px; }
.game-body p { color: var(--muted); margin: 0 0 24px; }
.tag { background: rgba(255, 197, 51, .15); color: var(--gold); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.more { color: var(--muted); text-align: center; margin-top: 24px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font: 700 28px var(--display); color: var(--gold); }
.steps b { font-family: var(--display); font-size: 20px; }
.steps span { color: var(--muted); }

.footer {
  display: flex; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 32px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.footer a { color: var(--muted); }

.center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 16px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-logo { order: -1; width: 220px; }
  .game { grid-template-columns: 1fr; }
  .game-body { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
