/* Retiverse Games — site styles. Colours come from the logo: cream #FEFCF3, navy #201F3A, orange #FD6F05. */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/baloo2-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FEFCF3;
  --cream-2: #FFF5DD;
  --paper: #FFFFFF;
  --navy: #201F3A;
  --navy-2: #2D2B52;
  --ink: #2E2D4A;
  --muted: #5E5C78;
  --line: #EEE6D1;
  --orange: #FD6F05;
  --orange-2: #FE9A1F;
  --orange-ink: #B84A00;
  --amber: #FEB604;
  --sky: #4FB0F5;
  --sky-2: #E1F2FF;
  --green: #3DBE63;
  --radius: 24px;
  --shadow: 0 1px 0 rgba(32, 31, 58, 0.04), 0 14px 34px -14px rgba(32, 31, 58, 0.22);
  --shadow-lg: 0 2px 0 rgba(32, 31, 58, 0.04), 0 26px 60px -22px rgba(32, 31, 58, 0.32);
  --display: "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--orange-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 2 * var(--gutter)); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 252, 243, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 56px; height: auto; }
.wordmark { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; }
.wordmark .w1 { font-weight: 800; font-size: 1.32rem; letter-spacing: 0.02em; color: var(--navy); }
.wordmark .w2 {
  font-weight: 700; font-size: 0.64rem; letter-spacing: 0.52em; color: var(--orange);
  margin-top: 3px; padding-left: 0.2em;
}

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--navy);
  text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background 0.2s;
}
.main-nav a:hover { background: var(--cream-2); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--cream-2); box-shadow: inset 0 -3px 0 var(--amber); }

.lang-switch {
  display: inline-flex; padding: 3px; border: 2px solid var(--navy); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 0.86rem;
}
.lang-switch > * { padding: 3px 10px; border-radius: 999px; line-height: 1.4; }
.lang-switch .lang-on { background: var(--navy); color: var(--cream); }
.lang-switch a { color: var(--navy); text-decoration: none; }
.lang-switch a:hover { background: var(--cream-2); }

/* ---------- Buttons & chips ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.actions.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--navy); transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn-primary {
  color: var(--navy);
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 5px 0 var(--navy);
}
.btn-primary:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 7px 0 var(--navy); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--navy); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--navy); }

.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: var(--cream); text-decoration: none;
  padding: 10px 22px 10px 16px; border-radius: 16px; min-height: 58px;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.05;
  box-shadow: 0 5px 0 #0E0D22;
}
.play-btn small { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
a.play-btn:hover { color: var(--cream); transform: translateY(-2px); }
.play-btn.is-soon { cursor: default; }
.pulse {
  width: 14px; height: 14px; border-radius: 50%; background: var(--amber); flex: none; margin-left: 4px;
  box-shadow: 0 0 0 0 rgba(254, 182, 4, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(254, 182, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(254, 182, 4, 0); }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; list-style: none; }
.chips li {
  background: var(--sky-2); color: var(--navy); font-weight: 700; font-size: 0.86rem;
  padding: 5px 12px; border-radius: 999px;
}

.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-ink); margin: 0 0 12px;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.27rem); color: var(--muted); }
.lead strong { color: var(--navy); }
.fine { font-size: 0.92rem; color: var(--muted); margin-top: 18px; }

.placeholder { outline: 2px dashed var(--orange); outline-offset: 3px; border-radius: 8px; }
.placeholder::after {
  content: "placeholder"; font: 700 0.62rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--orange); color: var(--navy); padding: 3px 6px; border-radius: 6px; margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-band { background: var(--cream-2); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-lead { color: var(--muted); font-size: 1.15rem; }

/* ---------- Home ---------- */

.home-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(560px 380px at 88% 18%, rgba(254, 182, 4, 0.2), transparent 70%),
    radial-gradient(520px 380px at 4% 96%, rgba(79, 176, 245, 0.13), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy h1 { max-width: 13ch; }
.hl { background: linear-gradient(transparent 48%, rgba(254, 182, 4, 0.5) 48% 76%, transparent 76%); padding: 0 0.06em; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(460px, 100%); position: relative; z-index: 1; animation: float 6s ease-in-out infinite; }
.orbit {
  position: absolute; width: 112%; aspect-ratio: 2.2; border: 2.5px dashed rgba(253, 111, 5, 0.35);
  border-radius: 50%; transform: rotate(-12deg); top: 18%;
}
.spark {
  position: absolute; width: 22px; height: 22px; background: var(--amber); z-index: 2;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.spark.s1 { top: 6%; left: 8%; }
.spark.s2 { top: 62%; right: 2%; width: 16px; height: 16px; background: var(--orange); animation-delay: 1.1s; }
.spark.s3 { bottom: 2%; left: 22%; width: 12px; height: 12px; animation-delay: 2s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 50% { transform: scale(0.55) rotate(25deg); opacity: 0.6; } }

.games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.game-card {
  background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.game-card-media { display: block; background: #8FD0FF; }
.game-card-media img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; transition: transform 0.4s; }
.game-card:hover .game-card-media img { transform: scale(1.025); }
.game-card-body { display: flex; gap: 20px; padding: 0 28px 30px; }
.game-card-body > div { padding-top: 22px; }
.game-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.game-card h3 a { color: var(--navy); text-decoration: none; }
.game-card h3 a:hover { color: var(--orange-ink); }
.game-card p { color: var(--muted); margin: 0; }
.game-card .actions { margin-top: 22px; }
.app-icon { width: 88px; height: 88px; border-radius: 22%; flex: none; box-shadow: 0 8px 20px -8px rgba(32, 31, 58, 0.45); }
.game-card .app-icon { margin-top: -30px; border: 4px solid var(--paper); box-sizing: content-box; position: relative; }

.teaser-card {
  border: 2.5px dashed #DCCFAE; border-radius: 28px; padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: center; text-align: center; align-items: center;
}
.teaser-card p { color: var(--muted); margin: 0; }
.soon-tag {
  display: inline-block; background: var(--navy); color: var(--cream); font-family: var(--display); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.teaser-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.teaser-blocks { display: grid; gap: 4px; margin-bottom: 18px; justify-items: center; }
.teaser-blocks span { display: block; width: 74px; height: 24px; border-radius: 7px; border: 2.5px solid var(--navy); }
.teaser-blocks span:nth-child(1) { background: var(--sky); transform: translateX(-8px) rotate(-6deg); animation: wobble 3s ease-in-out infinite; }
.teaser-blocks span:nth-child(2) { background: var(--amber); }
.teaser-blocks span:nth-child(3) { background: var(--orange); }
@keyframes wobble { 50% { transform: translateX(8px) rotate(5deg); } }

.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.value { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.value h3 { margin: 18px 0 8px; }
.value p { color: var(--muted); margin: 0; font-size: 1rem; }
.value-icon {
  display: grid; width: 58px; height: 58px; border-radius: 18px;
  background-repeat: no-repeat; background-position: center; background-size: 30px;
  border: 2.5px solid var(--navy);
}
.icon-tap { background-color: #FFE29A; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201F3A' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.2' fill='%23201F3A'/%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E"); }
.icon-fair { background-color: #FFC9A3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201F3A' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-8.6-9.4C2.7 7.4 4.9 5 7.6 5c1.9 0 3.3 1.1 4.4 2.7C13.1 6.1 14.5 5 16.4 5c2.7 0 4.9 2.4 4.2 5.6C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.icon-shield { background-color: #C8EBC4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201F3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 5.8v5.6c0 4.4 3 7.9 7 9.1 4-1.2 7-4.7 7-9.1V5.8z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.icon-globe { background-color: #BFE3FF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201F3A' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.2 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.2-3.5-8.5S9.6 5.9 12 3.5z'/%3E%3C/svg%3E"); }

.contact-card {
  position: relative; overflow: hidden;
  background: var(--navy); color: #E9E7F5; border-radius: 36px;
  padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.contact-card::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 111, 5, 0.55), rgba(253, 111, 5, 0) 70%);
}
.contact-card > * { position: relative; }
.contact-card h2 { color: var(--cream); }
.contact-card .eyebrow { color: var(--amber); }
.contact-card p { color: #D5D3E8; }
.contact-card a:not(.btn) { color: var(--amber); }
.contact-card .btn-primary { box-shadow: 0 5px 0 #0B0A1C; border-color: #0B0A1C; }
.contact-actions { display: grid; justify-items: start; gap: 6px; }
.contact-addr { font-weight: 700; font-size: 1.1rem; margin: 14px 0 0; }
.contact-links { margin: 0; }

/* ---------- Game page ---------- */

.game-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #A9DCFF 0%, #D8EFFF 58%, var(--cream) 100%);
  padding-block: 24px clamp(48px, 6vw, 80px);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; width: 150px; height: 46px; background: #fff; border-radius: 999px; opacity: 0.9;
  animation: drift 40s linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 64px; height: 64px; left: 24px; top: -30px; }
.cloud::after { width: 48px; height: 48px; left: 74px; top: -20px; }
.cloud.c1 { top: 70px; left: -10%; }
.cloud.c2 { top: 190px; left: 55%; transform: scale(0.7); animation-duration: 55s; animation-delay: -20s; }
.cloud.c3 { top: 40px; left: 80%; transform: scale(0.55); animation-duration: 65s; animation-delay: -35s; }
@keyframes drift { from { translate: -20vw 0; } to { translate: 120vw 0; } }
.game-hero-sea { background: linear-gradient(180deg, #A9DCFF 0%, #C9F0F4 58%, var(--cream) 100%); }
.game-hero .wrap { position: relative; }
.game-hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 12px; }
.app-icon-lg { width: 112px; height: 112px; margin-bottom: 20px; }
.game-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.game-hero .lead { color: var(--ink); }
.game-hero-art img {
  width: 100%; border-radius: 26px; border: 5px solid var(--paper); box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg); transition: transform 0.3s;
}
.game-hero-art img:hover { transform: rotate(0deg) scale(1.01); }

.stat-row {
  list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat-row li {
  background: var(--paper); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow);
  display: flex; align-items: baseline; gap: 10px; justify-content: center;
}
.stat-row strong { font-family: var(--display); font-size: 2.1rem; font-weight: 800; color: var(--orange-ink); line-height: 1; }
.stat-row span { font-weight: 700; color: var(--navy); }

.shots-section { padding-bottom: clamp(40px, 5vw, 64px); }
.shots { position: relative; }
.shots-track {
  list-style: none; margin: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), (100vw - 1120px) / 2) 26px; scrollbar-width: thin; scrollbar-color: #DCCFAE transparent;
  scroll-padding-inline: max(var(--gutter), (100vw - 1120px) / 2);
}
.shots-track:focus-visible { outline-offset: -3px; }
.shots-track li { flex: 0 0 clamp(200px, 62vw, 260px); scroll-snap-align: start; }
.shots-track a { display: block; border-radius: 24px; transition: transform 0.2s; }
.shots-track a:hover { transform: translateY(-4px); }
.shots-track img { width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; border: 4px solid var(--paper); box-shadow: var(--shadow); background: #CDEBFF; }
.shots-nav { position: absolute; top: calc(50% - 40px); left: 0; right: 0; pointer-events: none; display: flex; justify-content: space-between; padding-inline: max(8px, (100vw - 1200px) / 2); }
.shots-nav button {
  pointer-events: auto; width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid var(--navy);
  background: var(--paper); color: var(--navy); font-size: 1.4rem; cursor: pointer; box-shadow: 0 4px 0 var(--navy);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
}
.shots-nav button:disabled { opacity: 0; pointer-events: none; }

.big-quote { text-align: center; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.big-quote + .lead { text-align: center; }
.features {
  list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.feature { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 1.9rem;
  background: var(--cream-2); margin-bottom: 16px;
}
.feature p { color: var(--muted); margin: 0; }
.feature .feature-extra { margin-top: 10px; font-weight: 800; color: var(--navy); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks-lg li { font-size: 1.12rem; color: var(--ink); font-weight: 700; padding-left: 38px; }
.ticks-lg li::before { width: 26px; height: 26px; top: 0.1em; background-size: 16px; }
.ticks-lg + .lead { margin-top: 28px; }

.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.city {
  border-radius: var(--radius); padding: 24px 20px 22px; border: 2.5px solid var(--navy);
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 5px 0 var(--navy); background: var(--paper);
}
.city strong { font-family: var(--display); font-size: 1.35rem; color: var(--navy); font-weight: 700; }
.city span:last-child { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.city-no {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  font-family: var(--display); font-weight: 700; color: var(--navy); background: var(--paper); border: 2.5px solid var(--navy);
}
.tone-ny { background: #CFE9FF; }
.tone-ist { background: #FFD9CC; }
.tone-par { background: #E7DBFF; }
.tone-tok { background: #FFD6E6; }
.tone-rom { background: #FFE8A8; }
.chapter-range { font-family: var(--display); font-weight: 700; color: var(--orange-ink); font-size: 0.92rem; margin-bottom: 4px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-card { background: var(--paper); border-radius: 28px; padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-lg); }
.info-card h2 { font-size: 1.6rem; }
.info { margin: 0; display: grid; }
.info div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); font-weight: 700; }
.info dd { margin: 0; color: var(--navy); font-weight: 700; }
.info-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.info-links a, .policy-card p a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--cream-2); color: var(--navy);
  font-weight: 700; text-decoration: none; font-size: 0.95rem;
}
.info-links a:hover, .policy-card p a:hover { background: #FFE7B0; }

.tester-card {
  background: linear-gradient(135deg, #FFE7A1, #FFD27A); border-radius: 32px; padding: clamp(28px, 4.5vw, 52px);
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
  border: 2.5px solid var(--navy); box-shadow: 0 6px 0 var(--navy);
}
.tester-card > div { flex: 1 1 420px; }
.tester-card .eyebrow { color: #8A3A00; }
.tester-card p { color: var(--ink); margin: 0; }

/* ---------- Documents (policies, support, terms) ---------- */

.doc-head { background: var(--cream-2); border-bottom: 1px solid var(--line); padding-block: 24px clamp(32px, 4vw, 48px); margin-bottom: clamp(28px, 4vw, 44px); }
.doc-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-top: 18px; }
.doc-head .lead { margin: 18px 0 0; }
.doc-app { display: flex; align-items: center; gap: 12px; margin-top: 18px; line-height: 1.3; font-family: var(--display); font-weight: 700; color: var(--navy); }
.doc-app .app-icon { width: 48px; height: 48px; }
.doc-meta { color: var(--muted); font-size: 0.97rem; margin: 0; }
.other-lang { margin: 14px 0 0; }
.other-lang a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--paper); color: var(--navy); font-weight: 700; text-decoration: none; font-size: 0.95rem;
  border: 2px solid var(--navy);
}
.other-lang a::before { content: "🌐"; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 0.92rem; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B9B3A0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange-ink); text-decoration: underline; }

.toc { background: var(--paper); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin-bottom: 40px; }
.toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc a { color: var(--navy); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--orange-ink); text-decoration: underline; }

.doc-body { padding-bottom: clamp(48px, 7vw, 96px); }
.doc-section { margin-bottom: 40px; }
.doc-section h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.doc-section ul, .doc-section ol { padding-left: 1.3em; }
.doc-section li { margin-bottom: 8px; }
.doc-section li::marker { color: var(--orange); }
.doc-subtitle { margin-top: 56px; }
.refs { font-size: 0.95rem; color: var(--muted); }
.note { background: #FFF0C2; border-left: 5px solid var(--amber); border-radius: 12px; padding: 12px 16px; color: var(--navy); font-weight: 600; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 14px 56px; margin: 0 !important; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700;
  background: var(--orange); color: var(--navy); border: 2.5px solid var(--navy);
}

.policy-list { margin-bottom: 8px; }
.policy-list h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.policy-card { display: flex; gap: 20px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.policy-card + .policy-card { margin-top: 16px; }
.policy-card .app-icon { width: 72px; height: 72px; }
.policy-card h3 { margin-bottom: 10px; }
.policy-card p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

.support-card {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
  background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg); margin-bottom: 48px;
}
.support-card > div { flex: 1 1 360px; }
.support-card p { color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2); font-size: 1.3rem; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }
.link-list { list-style: none; padding: 0 !important; }
.link-list a { font-weight: 700; }

/* ---------- 404 ---------- */

.not-found { text-align: center; padding-block: clamp(48px, 8vw, 110px); }
.not-found h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 28px; }
.not-found .lead { margin-inline: auto; }
.nf-tower { display: grid; justify-items: center; gap: 4px; margin-bottom: 28px; height: 150px; align-content: end; position: relative; }
.nf-block { display: block; width: 110px; height: 32px; border-radius: 8px; border: 2.5px solid var(--navy); background: var(--orange); }
.nf-block:nth-child(3) { background: var(--amber); }
.nf-block:nth-child(4) { background: var(--sky); }
.nf-falling { position: absolute; top: 0; left: calc(50% + 70px); background: #9BE07B; transform: rotate(24deg); animation: tumble 2.4s ease-in-out infinite; }
@keyframes tumble { 50% { transform: rotate(34deg) translateY(10px); } }
.nf-links { margin-top: 32px; font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #CFCDE3; padding-top: clamp(44px, 6vw, 72px); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 40px; padding-bottom: 40px; }
.site-footer .wordmark .w1 { color: var(--cream); }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; }
.footer-mail a { color: var(--amber); font-weight: 700; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer-nav a { display: block; color: #E4E2F2; text-decoration: none; padding: 4px 0; font-weight: 600; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px 28px; font-size: 0.92rem;
}
.footer-bottom a { color: #E4E2F2; font-weight: 700; }
.footer-bottom a::before { content: "🌐 "; }

/* ---------- Language suggestion & lightbox (added by site.js) ---------- */

.lang-banner {
  position: fixed; z-index: 60; left: 50%; bottom: 18px; translate: -50% 0; width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--navy); color: var(--cream); box-shadow: var(--shadow-lg); font-weight: 700;
  animation: rise 0.35s ease-out;
}
.lang-banner a { color: var(--amber); }
.lang-banner button {
  border: 0; background: rgba(255, 255, 255, 0.12); color: var(--cream); width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; flex: none;
}
@keyframes rise { from { translate: -50% 20px; opacity: 0; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 19, 40, 0.82); }
.lightbox img { width: min(92vw, 88vh * 9 / 16); max-width: none; aspect-ratio: 9 / 16; border-radius: 26px; border: 4px solid var(--paper); background: #CDEBFF; }
.lightbox button {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 2.5px solid var(--navy); background: var(--paper); color: var(--navy); font-size: 1.2rem; font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .cities { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-grid, .game-hero-grid, .games-grid, .two-col, .contact-card { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(360px, 82vw); }
  .hero-copy h1 { max-width: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .shots-nav { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .main-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .brand img { width: 46px; }
  .wordmark .w1 { font-size: 1.15rem; }
  .game-card-body { flex-direction: column; gap: 0; padding: 0 22px 26px; }
  .game-card .app-icon { width: 72px; height: 72px; }
  .game-card-body > div { padding-top: 14px; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .cities li:last-child { grid-column: 1 / -1; }
  .toc ol { columns: 1; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .policy-card { flex-direction: column; align-items: flex-start; }
  .play-btn { font-size: 1.15rem; }
  .actions .btn, .actions .play-btn { flex: 1 1 auto; justify-content: center; }
  .lang-banner { border-radius: 22px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .toc, .lang-banner, .skip-link { display: none !important; }
  body { background: #fff; }
  .doc-head { background: none; }
}
