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

:root {
  --bg:        #0d0d14;
  --surface:   #16161f;
  --accent:    #7c5cfc;
  --accent2:   #c45cfc;
  --text:      #e8e8f0;
  --muted:     #8888a0;
  --radius:    12px;
  --max-w:     960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,92,252,0.18) 0%, transparent 70%),
    var(--bg);
  padding: 4rem 0;
}

#hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 24px rgba(124,92,252,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(124,92,252,0.55);
}

/* ── Section titles ───────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

section > .container > h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

section > .container > p {
  color: var(--muted);
  max-width: 600px;
}

/* ── About ────────────────────────────────────────────────── */
#about {
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ── Games ────────────────────────────────────────────────── */
#games {
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.game-card {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.game-art {
  background: linear-gradient(135deg, #1a1030 0%, #0d0d14 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.game-art-inner {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 8px 48px rgba(124,92,252,0.5);
}

.game-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.game-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  width: fit-content;
}

.game-info h3 {
  font-size: 2rem;
  font-weight: 800;
}

.game-info p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.store-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-store:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

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

.coming-soon-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -0.25rem;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .game-art {
    min-height: 200px;
  }

  .nav-links {
    gap: 1.25rem;
  }
}
