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

:root {
  --bg:        #0d0d0f;
  --bg-card:   #131316;
  --border:    #2a2a30;
  --text:      #c8c8d0;
  --text-dim:  #666672;
  --accent:    #b03030;
  --accent-hover: #cc3a3a;
  --font-sans: 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Courier New', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Accessibility ────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

.site-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

.hero-content {
  max-width: 640px;
}

.game-title {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-shadow: 0 0 60px rgba(176, 48, 48, 0.4);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ── Wishlist form ────────────────────────────────────────── */
.wishlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto 0.75rem;
}

.wishlist-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

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

.wishlist-form input[type="email"]:focus {
  border-color: var(--accent);
}

.wishlist-form button {
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.wishlist-form button:hover {
  background: var(--accent-hover);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
}

.feature-card h2 {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

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

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .wishlist-form {
    flex-direction: column;
  }
}
