:root {
  --bg: #10151c;
  --text: #f2f5f8;
  --muted: #a9b5c2;
  --line: #2a333f;
  --accent: #f2c230;
  --accent-ink: #141b24;
  --side: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }

.play {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}
.play:hover { background: #ffd34d; transform: translateY(-1px); }
.play:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- first screen: the game itself, with the title over the darkest part ---- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(100svh, 900px); overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0, rgba(16, 21, 28, 0.72) 32%, rgba(16, 21, 28, 0) 68%),
    linear-gradient(to right, rgba(16, 21, 28, 0.8) 0, rgba(16, 21, 28, 0) 62%);
}
.hero-text { position: relative; z-index: 1; width: 100%; padding: 96px var(--side) 56px; }
h1 { font-size: clamp(52px, 10vw, 112px); font-weight: 800; }
.tagline { max-width: 26em; margin: 14px 0 28px; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.3; text-wrap: balance; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* ---- what the game is ---- */
main { max-width: 1240px; margin: 0 auto; padding: 0 var(--side); }
.intro { max-width: 34em; margin: 40px 0 96px; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.45; }

.feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.feature:nth-of-type(even) img { order: 2; }
.feature img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, 0.4); }
.feature h2, .days h2 { font-size: clamp(27px, 3.2vw, 38px); }
.feature p { margin: 14px 0 0; color: var(--muted); }

.days { padding-top: 8px; margin-bottom: clamp(72px, 10vw, 128px); }
.days ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px 40px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 16px; line-height: 1.45; }
.days b { display: block; margin-bottom: 2px; color: var(--text); font-size: 18px; font-weight: 650; }

/* ---- the end: one button and the small print ---- */
footer { padding: 0 var(--side) 40px; text-align: center; }
footer p { margin: 40px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

@media (max-width: 820px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature:nth-of-type(even) img { order: 0; }
  .intro { margin: 24px 0 60px; }
  .hero { min-height: 88svh; }
  .hero-art { object-position: 58% 30%; }
  .hero-text { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .play { transition: none; }
  .play:hover { transform: none; }
}
