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

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #1f2b47;
  --text-primary: #f0e6d3;
  --text-secondary: #a89b8c;
  --accent: #e8920d;
  --accent-light: #ffd966;
  --accent-glow: rgba(232, 146, 13, 0.15);
  --font-stack: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--accent);
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(232, 146, 13, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.header__brand:hover {
  color: var(--accent-light);
}

.header__logo {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent-light);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.hero__icon {
  width: 96px;
  height: 96px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 24px rgba(232, 146, 13, 0.4));
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 540px;
}

/* === Games Section === */
.games {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-secondary);
}

.games__heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent-light);
}

.games__card {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(232, 146, 13, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.games__card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.games__card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.games__card-text {
  color: var(--text-secondary);
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(232, 146, 13, 0.2);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer a {
  color: var(--text-secondary);
}

.footer a:hover {
  color: var(--accent-light);
}

.footer__links {
  margin-bottom: 0.5rem;
}

.footer__links a + a {
  margin-left: 1.5rem;
}

/* === Privacy Policy Page === */
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  flex: 1;
}

.policy h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.policy .policy__updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.policy h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}

.policy p,
.policy ul {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy ul {
  padding-left: 1.5rem;
}

.policy li {
  margin-bottom: 0.5rem;
}

/* === Responsive === */
@media (max-width: 640px) {
  .header {
    padding: 1rem;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 1rem;
    border-bottom: 1px solid rgba(232, 146, 13, 0.2);
    gap: 1rem;
  }

  .nav.nav--open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .games {
    padding: 3rem 1.5rem;
  }

  .policy {
    padding: 2rem 1.5rem;
  }
}
