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

:root {
  --bg: #0f0f14;
  --surface: #1a1a24;
  --surface-hover: #22222f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --muted: #9898a8;
  --accent: #7c6cf0;
  --accent-glow: rgba(124, 108, 240, 0.35);
  --live: #3dd68c;
  --soon: #f0b429;
  --radius: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding: max(1.25rem, env(safe-area-inset-top)) 1rem calc(1.5rem + var(--safe-bottom));
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(61, 214, 140, 0.08), transparent);
  z-index: -1;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.logo {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 22rem;
  margin-inline: auto;
}

.games {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}

.games-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.games-section__title {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.15rem;
}

.game-card--featured {
  border-color: rgba(124, 108, 240, 0.35);
  background: linear-gradient(135deg, rgba(124, 108, 240, 0.12), var(--surface));
}

.game-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.game-card--live:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .game-card--live:hover {
    background: var(--surface-hover);
    border-color: rgba(124, 108, 240, 0.35);
  }
}

.game-card--soon {
  opacity: 0.65;
  cursor: default;
}

.game-card__icon {
  flex-shrink: 0;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.game-card__body {
  flex: 1;
  min-width: 0;
}

.game-card__body h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.game-card__body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.game-card__cta {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--live);
  padding: 0.35rem 0.75rem;
  background: rgba(61, 214, 140, 0.12);
  border-radius: 999px;
}

.game-card__badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--soon);
  padding: 0.35rem 0.65rem;
  background: rgba(240, 180, 41, 0.12);
  border-radius: 999px;
  white-space: nowrap;
}

.footer {
  text-align: center;
  margin-top: 2.5rem;
}

.footer p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
