:root {
  --ink: #14201b;
  --muted: #3d5248;
  --paper: #e8f2ea;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(20, 32, 27, 0.12);
  --accent: #0f7a4a;
  --accent-ink: #f4fff8;
  --glow: #9ad4b5;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #cfe3d4;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 12% 8%, rgba(154, 212, 181, 0.9), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 18%, rgba(255, 236, 179, 0.55), transparent 50%),
    linear-gradient(165deg, #d9ebe0 0%, #b7d4c0 45%, #9fc4ae 100%);
  pointer-events: none;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent 0 14px,
    rgba(20, 32, 27, 0.03) 14px 15px
  );
  opacity: 0.7;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 6rem) 0 4rem;
}

.hero {
  margin-bottom: 2.5rem;
  animation: rise 0.7s ease both;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.tagline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.lede code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: rgba(255, 255, 255, 0.55);
}

.list {
  animation: rise 0.7s ease 0.12s both;
}

.status {
  margin: 0;
  color: var(--muted);
}

.games {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.game:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 122, 74, 0.35);
  background: rgba(255, 255, 255, 0.88);
}

.game-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.play {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.65rem 1rem;
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.play:hover {
  background: #0b5f39;
}

.play:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 2px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .game {
    flex-direction: column;
    align-items: stretch;
  }

  .play {
    width: 100%;
  }
}
