:root {
  --bg: #f7f6f2;
  --bg-2: #efede6;
  --fg: #14161c;
  --muted: #5f6470;
  --card: #ffffff;
  --line: #e3e0d6;
  --accent: #0f8a6d;
  --accent-2: #f5b82e;
  --shadow: 0 1px 2px rgba(20,22,28,.04), 0 12px 32px -12px rgba(20,22,28,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f14;
    --bg-2: #11151c;
    --fg: #eef0f3;
    --muted: #9aa1ad;
    --card: #151a22;
    --line: #232a35;
    --accent: #2fd3a6;
    --accent-2: #f7c548;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* header */
header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 700; letter-spacing: -.01em; }
.mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #0b5f4c); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
nav a { color: var(--muted); text-decoration: none; margin-left: 26px; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--fg); }

/* hero */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--fg); color: var(--bg); box-shadow: var(--shadow); }
.btn.ghost { border: 1px solid var(--line); color: var(--fg); background: var(--card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats b { display: block; font-size: 28px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 14px; }

/* sections */
section { padding: 72px 0; }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* featured game */
.game { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.game-banner { position: relative; aspect-ratio: 16 / 7; background: #1b2230 center / cover no-repeat; }
.game-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55)); }
.game-banner .tag { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: #fff; font-size: 13px; font-weight: 600; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.game-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 36px; align-items: center; }
.game-title { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.game-title img { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); }
.game-title h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.game-title small { color: var(--muted); font-size: 14px; }
.game-body p { color: var(--muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots img { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 1320 / 2868; object-fit: cover; }
.shots img:nth-child(2) { transform: translateY(-14px); }

/* cards grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* company */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px 26px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.contact-box { background: var(--fg); color: var(--bg); border-radius: 18px; padding: 32px; }
.contact-box h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.02em; }
.contact-box p { margin: 0 0 20px; opacity: .75; }
.contact-box a.mail { color: var(--bg); font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--accent-2); word-break: break-all; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--fg); }

/* legal pages */
.doc { max-width: 760px; padding: 64px 24px 24px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

@media (max-width: 860px) {
  .game-body, .company { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  nav a { margin-left: 14px; font-size: 14px; }
  nav a.hide-sm { display: none; }
  .hero { padding: 64px 0 48px; }
  .grid { grid-template-columns: 1fr; }
  .game-body { padding: 22px; }
  .game-banner { aspect-ratio: 16 / 10; }
  section { padding: 56px 0; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  footer a { margin: 0 14px 0 0; }
}
