* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(ellipse at 50% 0%, #2b2138 0%, #17121f 60%, #0e0a14 100%);
  color: #f3ecdf;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hall {
  width: min(920px, 92vw);
  padding: 48px 0;
  text-align: center;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.04em;
}

.tagline {
  color: #b9a8cf;
  margin-top: 8px;
  font-size: 1.05rem;
}

.games {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 24px;
}

.card {
  display: block;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }

.card h2 { margin-top: 18px; font-size: 1.5rem; }

.card p { margin-top: 8px; color: #cbbfe0; line-height: 1.5; font-size: 0.95rem; }

.play {
  display: inline-block;
  margin-top: 16px;
  color: #ffd076;
  font-weight: 600;
}

.card-art {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.brick {
  display: inline-block;
  width: 44px;
  height: 26px;
  border-radius: 4px;
  position: relative;
}

.brick::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 6px;
  right: 6px;
  height: 7px;
  border-radius: 3px 3px 0 0;
  background: inherit;
  filter: brightness(1.15);
}

.b-red    { background: #c91a09; }
.b-yellow { background: #f2cd37; height: 40px; }
.b-blue   { background: #0055bf; height: 32px; }

/* hangman card art */
.art-hangman { align-items: center; }

.art-hangman svg { height: 64px; width: auto; overflow: visible; }

.art-hangman .gal path {
  fill: none;
  stroke: #6b5a80;
  stroke-width: 5;
  stroke-linecap: round;
}

.art-hangman .rope { fill: none; stroke: #8d7aa5; stroke-width: 3; stroke-linecap: round; }

.art-hangman .fig {
  fill: none;
  stroke: #ffd076;
  stroke-width: 5;
  stroke-linecap: round;
}

.art-hangman .blanks path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 3;
  stroke-linecap: round;
}

/* pac-man card art */
.art-pac { align-items: center; }
.art-pac svg { height: 60px; width: auto; overflow: visible; }
.art-pac .pac { fill: #ffd23f; }
.art-pac .pip { fill: #f0d9a8; }
.art-pac .ghost path { fill: #ff5d4d; }
.art-pac .eye { fill: #ffffff; }

/* connect 4 card art */
.art-c4 { align-items: center; }
.art-c4 svg { height: 60px; width: auto; }
.art-c4 .frame { fill: #3a2c52; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; }
.art-c4 .hole { fill: #140f1d; }
.art-c4 .red { fill: #d33f27; }
.art-c4 .yellow { fill: #dfa315; }

/* quiz card art */
.art-quiz { align-items: center; }
.art-quiz svg { height: 60px; width: auto; }
.art-quiz .ask rect, .art-quiz .ask path { fill: #3f3059; }
.art-quiz .dot { fill: #b9a8cf; }
.art-quiz .say rect, .art-quiz .say path { fill: #ffd076; }
.art-quiz .tick { fill: none; stroke: #241a10; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* blind chef card art */
.art-chef { align-items: center; }
.art-chef svg { height: 60px; width: auto; overflow: visible; }
.art-chef .pot { fill: #3f3653; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.art-chef .lid { fill: #6b5a80; }
.art-chef .grip { fill: none; stroke: #6b5a80; stroke-width: 4; stroke-linecap: round; }
.art-chef .steam path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 3;
  stroke-linecap: round;
}
.art-chef .bit.hot { fill: #d94f2c; }
.art-chef .bit.leaf { fill: #6fae52; }
.art-chef .bit.salt { fill: #f3ecdf; }

/* poker card art */
.art-poker { align-items: center; }
.art-poker svg { height: 60px; width: auto; overflow: visible; }
.art-poker .pc { fill: #f6f1e6; stroke: rgba(0, 0, 0, 0.25); stroke-width: 1; }
.art-poker .pip-r { font: 700 15px -apple-system, system-ui, sans-serif; }
.art-poker .pip-s { font: 400 15px -apple-system, system-ui, sans-serif; }
.art-poker .black { fill: #1a1420; }
.art-poker .red { fill: #c62828; }

/* ── Tag ── */
.art-tag { align-items: center; }
.art-tag svg { height: 66px; width: auto; overflow: visible; }
.art-tag .fur { fill: #e6dccf; }
.art-tag .puff { fill: #fffaf2; }
.art-tag .fox { fill: #e8783c; }
.art-tag .tail { fill: none; stroke: #e8783c; stroke-width: 6; stroke-linecap: round; }
.art-tag .leg { stroke: #e6dccf; stroke-width: 3.8; stroke-linecap: round; }
.art-tag .eye { fill: #241a2e; }
.art-tag .ring { fill: none; stroke: #ffd23f; stroke-width: 2.8; }
.art-tag .waffle { fill: #d9a45b; }
.art-tag .scoop.a { fill: #ffc2d1; }
.art-tag .scoop.b { fill: #b5e8d5; }
.art-tag .cherry { fill: #e8323c; }
.card:hover .art-tag .runner { transform: translateX(-3px); }
.card:hover .art-tag .chaser { transform: translateX(3px); }
.art-tag .runner, .art-tag .chaser { transition: transform 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  .art-tag .runner, .art-tag .chaser { transition: none; }
}
