:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #ff3366;
  --accent-soft: rgba(255, 51, 102, 0.15);
  --text-main: #f5f5f5;
  --text-muted: #a0a4b8;
  --card-bg: #111827;
  --border-soft: rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

header {
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(90deg, #020617, #020617 30%, #020617 70%, #020617);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  box-shadow: 0 0 10px #22d3ee;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--text-main);
}

main {
  flex: 1;
}

.hero {
  max-width: 960px;
  margin: 1.75rem auto 1.5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 1.75rem;
  align-items: center;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw + 1rem, 2.4rem);
  margin: 0 0 0.5rem;
}

.hero-text p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #a3e635);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 720px) {
  .hero-actions {
    justify-content: center;
  }
}

.btn-primary {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #f97316, #ec4899);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.45);
  filter: brightness(1.05);
}

.btn-ghost {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.8);
}

.hero-sidecard {
  border-radius: 18px;
  background: radial-gradient(circle at top left, #1d283a 0, #020617 60%);
  border: 1px solid var(--border-soft);
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}

.hero-sidecard-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-metadata span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
}

.games-section {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem 2rem;
}

.games-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 1.2rem;
}

@media (max-width: 640px) {
  .games-header {
    flex-direction: column;
  }
}

.games-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.games-header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.game-card {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top left, #020617 0, #020617 50%, #000 100%);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
  transition: transform 0.13s ease, box-shadow 0.13s ease, border-color 0.13s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
  border-color: rgba(251, 113, 133, 0.6);
}

.game-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.game-title {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.game-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.15rem 0.5rem;
}

.game-card .play-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.3rem;
}

.play-link-disabled {
  opacity: 0.4;
  cursor: default;
}

footer {
  border-top: 1px solid var(--border-soft);
  padding: 0.8rem 1.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: #020617;
}
