:root {
  --bgTop: #0a1420;
  --bgBottom: #152c40;
  --panel: rgba(10, 22, 33, 0.86);
  --panelLine: rgba(255, 255, 255, 0.14);
  --text: #edf2e6;
  --muted: #b4c1bc;
  --accentA: #ffbe0b;
  --accentB: #fb5607;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Verdana", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 190, 11, 0.24), transparent 34%),
    linear-gradient(180deg, var(--bgTop), var(--bgBottom));
}

.launchpad {
  width: min(1120px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 18px 0 24px;
}

.hero {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--panelLine);
  border-radius: 18px;
  margin-bottom: 14px;
}

.hero h1,
.hero p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 0.95;
}

.hero p {
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accentA);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.gameGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.gameCard {
  text-decoration: none;
  color: inherit;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--panelLine);
  background: rgba(8, 19, 30, 0.78);
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.gameCard h2,
.gameCard p {
  margin: 0;
}

.gameCard p {
  color: var(--muted);
  line-height: 1.45;
}

.playable {
  border-color: rgba(255, 190, 11, 0.55);
}

.playable:hover {
  transform: translateY(-1px);
  transition: transform 120ms ease;
}

.locked {
  opacity: 0.8;
}

.addCard {
  border-style: dashed;
}

.gameIcon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #11202a;
  background: linear-gradient(135deg, #a7c4d6, #f2f5f1);
}

.policeIcon {
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
}

.gameTwoIcon {
  color: #f1f7ff;
  background: linear-gradient(135deg, #3a86ff, #4361ee);
}

.garageIcon {
  position: relative;
  color: #f7f7f7;
  background: linear-gradient(135deg, #06d6a0, #118ab2);
  overflow: hidden;
}

.chessIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #2f3640, #5a6473);
}

.snakesIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #44a08d, #093637);
}

.monopolyIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #ef476f, #ff8a5b);
}

.cardIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #2ec4b6, #006d77);
}

.fruitIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #ff9f1c, #e71d36);
}

.colorIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #3a86ff, #00b4d8);
}

.numberIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #06d6a0, #118ab2);
}

.patternIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #8338ec, #ff006e);
}

.wordIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #84cc16, #3b82f6);
}

.highwayIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.fireTruckIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #ffd166, #ef476f);
}

.monsterIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #facc15, #f97316);
}

.neonIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #38bdf8, #d946ef);
}

.rocketIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #facc15, #7c3aed);
}

.dinoIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #f59e0b, #22c55e);
}

.submarineIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #67e8f9, #0f766e);
}

.sledIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #bfdbfe, #2563eb);
}

.robotIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #5eead4, #6366f1);
}

.gliderIcon {
  color: #f5f7f1;
  background: linear-gradient(135deg, #fda4af, #22c55e);
}

.garageIcon::after {
  content: "";
  position: absolute;
  inset: auto 9px 9px;
  height: 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
}

.carGlyph {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.addIcon {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.chip {
  margin-top: auto;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  color: #1a2128;
  font-weight: 700;
}

.chip.muted {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

@media (max-width: 640px) {
  .launchpad {
    width: calc(100vw - 16px);
    padding: 10px 0 16px;
  }

  .hero {
    padding: 16px;
    border-radius: 14px;
  }

  .gameGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gameCard {
    min-height: 198px;
    padding: 12px;
    border-radius: 12px;
  }

  .gameIcon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }
}
