/* Vesdora Studios — night print palette shared with the games. */
:root {
  --night: #0b2122;
  --night-2: #0f2e2e;
  --panel: #143a3a;
  --ink: #f1edde;
  --muted: #b7c2b8;
  --gold: #f2c784;
  --coral: #ec9878;
  --line: rgba(241, 237, 222, 0.14);
  --paper: #f1edde;
  --paper-ink: #243e36;
  --radius: 22px;
  --wrap: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(120% 80% at 70% -10%, #18403f 0%, var(--night) 55%) fixed, var(--night);
  color: var(--ink);
  font: 400 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { padding: 22px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold);
  font: 400 18px/1 "DM Serif Display", Georgia, serif;
}
.brand-name { font: 400 22px/1 "DM Serif Display", Georgia, serif; letter-spacing: 0.2px; }
.brand-name em { color: var(--gold); font-style: italic; }
.nav { display: flex; gap: 18px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.12; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 38px); margin-top: 8px; }
h3 { font-size: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--coral); margin: 0 0 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero h1 em { color: var(--gold); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.game-card { display: flex; gap: 18px; align-items: flex-start; color: var(--ink); text-decoration: none; }
.game-card:hover { border-color: rgba(242, 199, 132, 0.5); }
.game-card img { width: 84px; height: 84px; border-radius: 20px; flex: none; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.game-card h3 { margin-bottom: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(242, 199, 132, 0.45); border-radius: 100px; padding: 3px 10px; margin-top: 8px; }
.card.soon { border-style: dashed; color: var(--muted); display: grid; place-items: center; min-height: 128px; text-align: center; }

section { padding: 28px 0; }

/* Game page */
.game-hero { display: grid; gap: 32px; grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 36px 0 24px; }
.game-hero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); margin-bottom: 18px; }
.phone { width: 100%; max-width: 330px; justify-self: center; border-radius: 34px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px;
  background: var(--paper); color: var(--paper-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.badge.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; }
.shots img { width: 220px; flex: none; border-radius: 26px; border: 1px solid var(--line); scroll-snap-align: start;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35); }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.features .card h3 { font-size: 20px; }
.features .card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Prose (privacy, support) */
.prose { max-width: 760px; padding: 20px 0 40px; }
.prose h2 { font-size: 26px; margin-top: 34px; }
.prose h3 { font-size: 20px; margin-top: 22px; }
.prose li { margin: 4px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--gold); font-weight: 700; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.toc a { font-weight: 700; font-size: 14px; border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; text-decoration: none; }
.lang-divider { margin: 48px 0 8px; border: 0; border-top: 1px solid var(--line); }

/* Footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .game-hero { grid-template-columns: 1fr; }
  .phone { max-width: 260px; }
  .nav { gap: 14px; font-size: 14px; }
  .brand-name { font-size: 19px; }
}
