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

:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --border: #2e2e2e;
  --accent: #7ee8a2;
  --accent2: #80d0f0;
  --text: #e8e8e8;
  --muted: #888;
  --font: 'Inter', system-ui, sans-serif;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.75; }

/* Nav */
header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); opacity: 1; }

/* Main */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.game-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1e3a2f, #1a2e3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.game-card-body {
  padding: 1.25rem;
}

.game-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--accent);
  color: #0d0d0d;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }

/* Game page */
.game-hero {
  padding: 3rem 0;
}

.game-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 420px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e3a2f, #1a2e3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.game-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.game-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.features {
  margin-top: 3rem;
}

.features h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
}

.features-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.features-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
}
