:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: rgba(17, 21, 29, 0.86);
  --panel: rgba(12, 16, 22, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f5f7;
  --muted: #98a2b3;
  --accent: #d6f36a;
  --accent-soft: rgba(214, 243, 106, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 243, 106, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(92, 103, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #06080b 0%, #0b1017 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
  pointer-events: none;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient-left {
  top: -8rem;
  left: -8rem;
  background: rgba(214, 243, 106, 0.16);
}

.ambient-right {
  right: -10rem;
  bottom: -12rem;
  background: rgba(90, 113, 255, 0.16);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero,
.library {
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, var(--bg-soft), var(--panel));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 3.5rem;
}

.eyebrow,
.section-kicker,
.card-index,
.status-text,
code {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.94;
  font-weight: 700;
}

.lede {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.library {
  margin-top: 1.5rem;
  padding: 2rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.game-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 320px;
}

.card-topline,
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.card-topline {
  justify-content: flex-start;
}

.status-pending {
  background: #7f8a9b;
  box-shadow: 0 0 18px rgba(127, 138, 155, 0.45);
}

.status-live {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(214, 243, 106, 0.65);
}

.status-maintenance {
  background: #ff9f43;
  box-shadow: 0 0 20px rgba(255, 159, 67, 0.55);
}

.status-reachable {
  background: #f6c453;
  box-shadow: 0 0 20px rgba(246, 196, 83, 0.55);
}

.status-offline {
  background: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.55);
}

.status-unknown {
  background: #7f8a9b;
  box-shadow: 0 0 18px rgba(127, 138, 155, 0.45);
}

.status-text,
.card-index,
.card-meta span,
code {
  color: var(--muted);
  font-size: 0.75rem;
}

.card-body {
  display: grid;
  gap: 0.9rem;
}

h3 {
  font-size: 2rem;
  line-height: 1;
}

.card-body p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.card-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

a {
  color: var(--text);
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(214, 243, 106, 0.26);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

a:hover,
a:focus-visible {
  transform: translateY(-1px);
  background: rgba(214, 243, 106, 0.2);
  border-color: rgba(214, 243, 106, 0.45);
}

code {
  font-family: "Courier New", Courier, monospace;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1rem, 1100px);
    padding: 3rem 0 2rem;
  }

  .hero {
    padding: 2rem 1.25rem;
  }

  .library {
    padding: 1.25rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
