:root {
  --bg-0: #070a1f;
  --bg-1: #0c1030;
  --text: #f2f4ff;
  --muted: #9aa2d4;
  --accent: #4ea1ff;
  --accent2: #6a7bff;
  --accent3: #3ad6c5;
  --glass: rgba(255, 255, 255, 0.055);
  --stroke: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--bg-0); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ---------- background aurora ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-a { width: 480px; height: 480px; background: var(--accent3); top: -120px; left: -80px; }
.orb-b { width: 520px; height: 520px; background: var(--accent2); top: 20%; right: -140px; }
.orb-c { width: 420px; height: 420px; background: var(--accent); bottom: -160px; left: 30%; }

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 5vw, 48px); max-width: 1100px; margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  object-fit: cover; display: block;
  box-shadow: 0 0 18px rgba(58, 214, 197, 0.45);
}
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
main { max-width: 1100px; margin-inline: auto; padding: 0 clamp(16px, 5vw, 48px); }
.hero { text-align: center; padding: clamp(48px, 12vw, 120px) 0 clamp(40px, 8vw, 80px); }
.hero h1 {
  font-size: clamp(34px, 7vw, 64px); font-weight: 900; margin: 0 0 18px; line-height: 1.1;
  background: linear-gradient(120deg, var(--accent3), var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta {
  display: inline-block; text-decoration: none; font-weight: 800; font-size: 16px;
  color: #04302c; background: linear-gradient(120deg, var(--accent3), #6ff0e2);
  padding: 14px 28px; border-radius: 14px; box-shadow: 0 10px 30px rgba(58, 214, 197, 0.3);
  transition: transform 0.15s ease;
}
.cta:hover { transform: translateY(-2px); }

/* ---------- games grid ---------- */
.section-title { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.games { padding-bottom: 80px; }
.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: var(--glass); border: 1px solid var(--stroke); border-radius: 18px;
  overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(58, 214, 197, 0.5); }
.card-art { aspect-ratio: 16 / 9; background: var(--bg-1); overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-art--soon {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, #0c1030, #070a1f);
}
.card-body { padding: 16px 18px 20px; }
.card-body h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card-body p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.play { font-weight: 700; color: var(--accent3); }
.card-soon { opacity: 0.7; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--stroke); margin-top: 40px;
  padding: 28px clamp(16px, 5vw, 48px); max-width: 1100px; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 14px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- cookie consent banner ---------- */
#cc-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000;
  max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between;
  background: rgba(12, 16, 48, 0.94); backdrop-filter: blur(10px);
  border: 1px solid var(--stroke); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
#cc-banner p { margin: 0; flex: 1 1 280px; font-size: 14px; color: var(--muted); }
#cc-banner a { color: var(--accent3); }
.cc-actions { display: flex; gap: 8px; }
.cc-btn {
  font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; border: none;
  padding: 9px 18px; border-radius: 11px; color: #04302c;
  background: linear-gradient(120deg, var(--accent3), #6ff0e2);
}
.cc-btn.cc-ghost { color: #cdd6ff; background: rgba(255, 255, 255, 0.08); }
