:root {
  --bg: #080c14;
  --surface: #0e1524;
  --border: #1d2942;
  --text: #eef3fb;
  --muted: #a9b8d0;
  --cyan: #38e8ff;
  --magenta: #ff55d4;
}

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

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  overflow-x: hidden;
}

header,
main,
footer {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

header {
  padding-top: 3.5rem;
  padding-bottom: 1.75rem;
}

header::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), transparent);
  border-radius: 2px;
}

.wordmark {
  display: inline-block;
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(56, 232, 255, 0.35),
    0 0 36px rgba(255, 85, 212, 0.2);
}

main {
  flex: 1;
  padding: 1.5rem 0 3.5rem;
}

section {
  margin-bottom: 2.75rem;
}

section:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--text);
}

main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.game-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.game-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan);
  background-color: rgba(56, 232, 255, 0.1);
  border: 1px solid rgba(56, 232, 255, 0.4);
  border-radius: 999px;
}

p {
  margin: 0 0 1rem;
  color: var(--text);
  overflow-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

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

.effective-date {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

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

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
