:root {
  --bg: #0e0e12;
  --surface: #17171e;
  --surface-2: #20202a;
  --line: rgb(255 255 255 / .09);
  --text: #eeeef2;
  --muted: #9b9bab;
  --red: #ff5a4e;
  --yellow: #ffd23f;
  --ink: #16120a;
  --radius: 18px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--body); display: flex; flex-direction: column;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 10px; border-radius: 999px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); background: var(--surface-2); }

main { flex: 1; }

/* hero */
.hero { padding: clamp(48px, 9vw, 104px) 0 40px; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.05; margin: 0; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 5rem); font-weight: 700; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 52ch; margin: 22px 0 0; }

/* game tile */
.games { padding: 24px 0 56px; }
.games h2 { font-size: 1.4rem; margin-bottom: 18px; }
.tile {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); border-color: rgb(255 210 63 / .45); }
.tile-art {
  position: relative; min-height: 300px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #3a1d2a 0%, #15121c 60%);
  display: grid; place-items: center;
}
.tile-art .mini { position: absolute; width: 120px; aspect-ratio: 5/7; border-radius: 12px; display: grid; place-items: center; font-size: 46px; box-shadow: 0 18px 40px rgb(0 0 0 / .5); }
.mini.c1 { background: linear-gradient(160deg, #3b3b46, #24242c); transform: translate(-90px, 18px) rotate(-14deg); }
.mini.c2 { background: linear-gradient(160deg, #2c5bab, #1b2f5a); transform: translate(0, -6px) rotate(-2deg); z-index: 1; }
.mini.c3 { background: linear-gradient(160deg, #e0a417, #7a4b06); transform: translate(92px, 22px) rotate(12deg); }
.tile-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.tile-body h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.tile-body p { margin: 0; color: var(--muted); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: flex-start;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); font: 700 16px/1 var(--body); text-decoration: none;
}
.soon { margin-top: 18px; padding: 20px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* prose pages + home copy */
.prose { padding: 40px 0 64px; max-width: 72ch; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.prose p, .prose li { color: #cfcfd8; }
.prose a { color: var(--yellow); }
.why { padding: 8px 0 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

.ad-box { margin: 0 auto 40px; min-height: 90px; }
.ad-box::before { content: "Advertisement"; display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6c6c7a; margin-bottom: 6px; }

/* footer */
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 22px 0; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .tile { grid-template-columns: 1fr; }
  .tile-art { min-height: 230px; }
  .why { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 480px) {
  .top nav .nav-home { display: none; }
  .top nav a { padding: 6px 8px; }
}
.fine-print { margin-top: 14px; font-size: 13px; color: #7c7c8a; }
.fine-print a { color: var(--muted); }
footer span a { color: inherit; }
