/* Vorogames site. Look follows Hex: dusk sea, dark-metal panels, a lit bottom edge on buttons and panels. */
:root {
  --night: #0e1925;      /* page */
  --sea: #10263a;        /* sea band */
  --metal1: #262e37;     /* panel top */
  --metal2: #161c23;     /* panel bottom */
  --line: #2c3a48;       /* hairlines */
  --text: #e8eef2;
  --muted: #9fb0bd;
  --amber: #ffb340;      /* main action */
  --amber-hi: #ffd07a;
  --cyan: #3fd0ff;       /* secondary action / links */
  --rust: #d5643c;       /* Mars */
  --red: #e5533d; --blue: #3d8be5; --gold: #e5b53d; --white: #e9e4d8;
  --font: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6;
       background: var(--night); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #8fe4ff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
h1, h2, h3 { font-stretch: 87.5%; line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: 19px; color: #c9d6df; max-width: 38ch; }
section { padding-block: 72px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--amber); color: #2e1a00; padding: 8px 12px; }

/* ---------- Header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 700; font-size: 21px; font-stretch: 87.5%; letter-spacing: .02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 16px; }
.nav a:hover { background: rgba(255,255,255,.08); color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 2px 2px; }
.page-top { position: relative; } /* pages without a full hero: header sits in normal flow */
.page-top .top { position: static; }

/* ---------- Buttons (Hex-style: metal + lit bottom edge) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
       border-radius: var(--r); font-weight: 700; font-size: 17px; text-decoration: none; font-stretch: 87.5%;
       letter-spacing: .03em; color: var(--text);
       background: linear-gradient(var(--metal1), var(--metal2));
       box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -3px 0 var(--cyan), 0 6px 16px rgba(0,0,0,.35); }
.btn:hover { color: var(--text); filter: brightness(1.15); }
.btn:active { transform: translateY(2px); }
.btn.play { color: #2e1a00; background: linear-gradient(var(--amber-hi), var(--amber));
            box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 #b8700f, 0 6px 22px rgba(255,179,64,.28); }
.btn.play:hover { color: #2e1a00; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Panels ---------- */
.panel { background: linear-gradient(var(--metal1), var(--metal2)); border-radius: 14px;
         box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -3px 0 var(--edge, var(--cyan)), 0 12px 30px rgba(0,0,0,.35); }

/* ---------- Home hero: the real game board fills the screen ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; overflow: hidden;
        background: #0f2131 url("../img/hero-board.jpg") no-repeat right 2% center / auto 106%; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--night) 0%, rgba(14,25,37,.92) 30%, rgba(14,25,37,.25) 62%, rgba(14,25,37,0) 80%),
              linear-gradient(0deg, var(--night) 0%, rgba(14,25,37,0) 22%); }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 80px; }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-bottom: 30px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-top: 40px; padding-bottom: 56px; }
.phero h1 { margin-bottom: .3em; }

/* ---------- Game feature (home) ---------- */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; }
.feature .shot { display: block; min-height: 100%; background: #0f2131; }
.feature .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; max-height: 440px; }
.feature .body { padding: 36px 36px 40px; }
.feature h3 { font-size: 40px; margin-bottom: 4px; }
.kind { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 13px; background: var(--amber);
                    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.soon { --edge: var(--rust); display: flex; gap: 24px; align-items: center; padding: 26px 30px; margin-top: 20px; }
.soon h3 { margin: 0; }
.soon p { margin: 4px 0 0; color: var(--muted); }
.soon .btn { margin-left: auto; }
.planet { flex: none; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f3a979 0%, #cf5a33 42%, #6a2316 78%, #2a0d08 100%);
  box-shadow: inset -10px -8px 18px rgba(0,0,0,.45), 0 0 40px rgba(213,100,60,.25); }

/* ---------- Promise list (home) ---------- */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; margin-top: 36px; }
.promise { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.promise svg { width: 52px; height: 52px; }
.promise h3 { margin-bottom: 6px; }
.promise p { margin: 0; color: var(--muted); }

/* ---------- Sea band ---------- */
.sea { background: linear-gradient(180deg, var(--night), var(--sea) 30%, var(--sea) 70%, var(--night)); }

/* ---------- Hex page ---------- */
.hexhero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hexhero .shot { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.facts { display: flex; flex-wrap: wrap; margin: 26px 0 30px; padding: 0; list-style: none; }
.facts li { padding: 2px 18px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font-size: 24px; font-stretch: 87.5%; line-height: 1.2; }
.facts span { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.steps ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin-bottom: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 52px; font-weight: 700;
  font-size: 22px; color: #2e1a00; background: var(--amber); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.steps li p { margin: 0; color: var(--muted); }
.steps li h3 { margin-bottom: 4px; }
.phone { border-radius: 28px; overflow: hidden; border: 6px solid #1c232b; box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.twists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.twist { padding: 26px 26px 30px; }
.twist p { margin: 0; color: var(--muted); }
.twist.tide { --edge: var(--cyan); }
.twist.hill { --edge: #8fbf5a; }
.twist.mark { --edge: var(--amber); }

.maps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 28px; }
.maps img { border-radius: 10px; aspect-ratio: 248 / 322; object-fit: cover; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 28px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: #0f2131; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-column: 1; grid-row: 1; }
.gallery .g2 { grid-column: 1; grid-row: 2; }
.gallery .g3 { grid-column: 2; grid-row: 1 / span 2; }
.gallery .g4 { grid-column: 3; grid-row: 1 / span 2; }
.gallery .g3 img, .gallery .g4 img { object-position: top center; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* ---------- Dustclaim (Mars) ---------- */
.mars { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center;
        background: radial-gradient(70% 90% at 80% 50%, #2a1712 0%, #07080c 70%); }
.mars .globe { position: absolute; right: -6vw; top: 50%; transform: translateY(-50%); width: min(58vw, 760px); height: auto; border-radius: 50%; }
.mars::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #07080c 0%, rgba(7,8,12,.85) 34%, rgba(7,8,12,0) 60%); }
.mars .wrap { position: relative; z-index: 2; padding-block: 48px 64px; }
.mars .lead { max-width: 34ch; }
.badge, .tag { display: inline-block; font-size: 14px; color: #ffd2bf; background: rgba(213,100,60,.18);
               border: 1px solid rgba(213,100,60,.55); border-radius: 999px; padding: 2px 12px; margin: 0 0 14px; }
.tag { font-size: 13px; vertical-align: middle; margin: 0 0 0 8px; font-weight: 400; font-stretch: 100%; }
.btn.rust { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -3px 0 var(--rust), 0 6px 16px rgba(0,0,0,.35); }
ol.rust li::before { background: var(--rust); color: #fff; }
.soon .planet { display: block; overflow: hidden; background: #07080c; box-shadow: 0 0 40px rgba(213,100,60,.25); }
.soon .planet img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.soon .actions { margin-left: auto; flex-wrap: nowrap; }
.soon .actions .btn { margin: 0; }

/* ---------- Text pages (about, privacy, press) ---------- */
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.dl a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; }
.dl img { border-radius: 10px; margin-bottom: 6px; aspect-ratio: 16 / 10; object-fit: cover; background: #0f2131; }
.logos { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.logos a { text-decoration: none; text-align: center; color: var(--muted); font-size: 14px; }
.logos .tile { width: 160px; height: 120px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 40px 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--text); margin: 0 0 10px; font-size: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .brand { margin-bottom: 10px; }


/* ---------- Home: both games side by side, equal ---------- */
.intro { padding-top: 40px; padding-bottom: 36px;
  background: radial-gradient(60% 120% at 20% 0%, rgba(63,208,255,.08), transparent 60%),
              radial-gradient(60% 120% at 85% 0%, rgba(213,100,60,.12), transparent 60%); }
.intro h1 { max-width: 22ch; font-size: clamp(36px, 5vw, 58px); }
.intro .lead { max-width: 52ch; margin: 0; }
.games { padding-top: 8px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.game { display: flex; flex-direction: column; overflow: hidden; }
.game .shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #07080c; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; transition: transform .4s ease; }
.game .shot:hover img { transform: scale(1.03); }
.game .mars-shot img { object-position: center 38%; }
.game .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.game h2 { font-size: 38px; margin-bottom: 2px; }
.game .ticks { margin-bottom: 26px; }
.game .actions { margin-top: auto; }
.ticks.rust li::before { background: var(--rust); }

/* ---------- Phone (portrait first) ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  section { padding-block: 52px; }
  .top .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 12px; }
  .nav { margin-left: -12px; }
  .nav a { padding: 8px 7px; font-size: 15px; }
  .nav { gap: 0; flex-wrap: nowrap; }
  .hero { min-height: 0; display: block; background-position: center top; background-size: 150% auto; padding-top: 96vw; }
  .hero::before { background: linear-gradient(0deg, var(--night) 40%, rgba(14,25,37,.6) 58%, rgba(14,25,37,0) 75%),
                               linear-gradient(180deg, rgba(14,25,37,.95) 0%, rgba(14,25,37,.6) 14%, rgba(14,25,37,0) 30%); }
  .hero .wrap { padding-top: 0; padding-bottom: 48px; }
  .btn { width: 100%; }
  .feature { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; gap: 20px; }
  .intro { padding-top: 16px; padding-bottom: 28px; }
  .game .body { padding: 22px 20px 24px; }
  .game h2 { font-size: 32px; }
  .feature .body { padding: 26px 22px 28px; }
  .feature h3 { font-size: 34px; }
  .soon { flex-wrap: wrap; padding: 22px; }
  .promises { grid-template-columns: 1fr; gap: 26px; }
  .hexhero, .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps .phone { max-width: 280px; margin-inline: auto; }
  .facts li { padding: 2px 14px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts { row-gap: 14px; }
  .twists { grid-template-columns: 1fr; }
  .maps { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g1, .gallery .g2 { grid-column: 1 / span 2; grid-row: auto; }
  .gallery .g3, .gallery .g4 { grid-column: auto; grid-row: auto; }
  .mars { min-height: 0; display: block; padding-top: 88vw; }
  .mars .globe { width: 100vw; right: 0; top: 0; transform: none; border-radius: 0; }
  .mars::before { background: linear-gradient(0deg, #07080c 42%, rgba(7,8,12,0) 62%); }
  .mars .wrap { padding-top: 0; }
  .soon .actions { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .dl { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
