/* GamesGus — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d1a;
  --surface: #13132a;
  --accent: #e8c84a;
  --accent2: #5b8dee;
  --text: #e8e8f0;
  --muted: #8888aa;
  --border: #2a2a4a;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* PAGE WRAPPER */
.page { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 5rem; }

/* HERO (home) */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent2);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

/* GAMES GRID */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem auto 0;
  max-width: 860px;
  padding: 0 2rem;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.game-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.game-card h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.game-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* PAGE TITLES */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* PROSE */
.prose p { margin-bottom: 1.1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent2); }
.prose ul { margin: 0.5rem 0 1.1rem 1.5rem; color: var(--muted); }
.prose li { margin-bottom: 0.3rem; }

/* GAME PAGE */
.game-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.game-description p { margin-bottom: 1rem; }

/* CONTACT */
.contact-email {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent2);
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-email:hover { border-color: var(--accent2); }

/* FOOTER */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

footer a { color: var(--muted); }

/* RESPONSIVE NAV */
@media (max-width: 640px) {
  nav { flex-direction: column; height: auto; padding: 0.75rem 1rem; gap: 0.5rem; }
  .nav-links { gap: 0.8rem; justify-content: center; }
}
