:root {
  --bg: #0e1015;
  --bg-accent: #1b2230;
  --surface: rgba(20, 24, 33, 0.86);
  --surface-strong: #171c27;
  --text: #f3f5f7;
  --muted: #aeb6c5;
  --line: rgba(243, 245, 247, 0.1);
  --primary: #ff6b2c;
  --primary-dark: #ff9d6c;
  --secondary: #17b6b0;
  --secondary-dark: #10918c;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 44, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(23, 182, 176, 0.18), transparent 28%),
    linear-gradient(180deg, #121620 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(243, 245, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 245, 247, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(140deg, rgba(24, 30, 42, 0.96), rgba(17, 21, 30, 0.96)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -48px -60px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.24), transparent 65%);
}

.brand,
.eyebrow,
.section-kicker,
h1,
h2,
h3 {
  letter-spacing: 0.03em;
}

.brand,
.eyebrow,
.section-kicker {
  font-family: "Bungee", Impact, sans-serif;
}

.brand {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 1rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 0 4px 4px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 28ch;
  margin: 18px 0 0;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 22px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
}

.games-section {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(18, 22, 31, 0.82);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 18px 10px 6px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.9;
}

.section-heading {
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(27, 34, 48, 0.98), rgba(19, 24, 34, 0.95));
}

.game-card.available {
  box-shadow: 0 18px 26px rgba(0, 0, 0, 0.22);
}

.game-card.upcoming {
  border-style: dashed;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 182, 176, 0.16);
  color: #92f2ed;
  font-size: 0.84rem;
  font-weight: 700;
}

.upcoming .status {
  background: rgba(255, 107, 44, 0.14);
  color: #ffb18b;
}

h3 {
  margin: 0 0 12px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.game-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.card-link {
  width: 100%;
  margin-top: auto;
  background: var(--secondary);
  color: #041313;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
  font-size: 1rem;
}

.card-link:hover,
.card-link:focus-visible {
  background: var(--secondary-dark);
}

.card-link.disabled {
  background: rgba(243, 245, 247, 0.08);
  color: rgba(243, 245, 247, 0.45);
  box-shadow: none;
  pointer-events: none;
}

@media (max-width: 960px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero,
  .games-section {
    padding: 20px;
    border-radius: 24px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}
