/* Shared style of the per-game privacy and support pages (public/games/<slug>/{privacy,support}.html).
   Generated pages: tools/build_policy_pages.py. Fonts are local copies (CSP allows only 'self'). */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(cinzel-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Sofia Sans'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(sofia-sans-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Sofia Sans'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(sofia-sans-latin-ext-wght-normal.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: 'Sofia Sans'; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url(sofia-sans-latin-wght-normal.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 {
  --bg: #0c0b09; --bg-2: #13110d; --card: #17140f; --line: rgba(201, 162, 77, .18); --line-2: rgba(201, 162, 77, .34);
  --text: #e9e3d6; --muted: #a59d8c; --dim: #7d7666;
  --gold: #c9a24d; --gold-light: #f1d58a; --gold-deep: #a87c2a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font: 400 17px/1.65 'Sofia Sans', system-ui, sans-serif; letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: var(--gold-light); text-decoration-color: rgba(241, 213, 138, .4); text-underline-offset: 3px; }
a:hover { color: #fff3cf; text-decoration-color: currentColor; }
::selection { background: rgba(201, 162, 77, .35); color: #fff; }

/* Language: both languages ship in the page, the <html data-lang> switch shows one. */
html[data-lang='en'] [lang='ru'].l, html[data-lang='ru'] [lang='en'].l { display: none !important; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(201, 162, 77, .13), rgba(201, 162, 77, 0) 62%), var(--bg-2); }
.hero::before { content: ''; position: absolute; inset: 0; background: url(/geo-gold.svg) center 35% / 1100px auto no-repeat;
  opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
.wrap { position: relative; max-width: 760px; margin: 0 auto; padding: 0 22px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.mark { width: 26px; height: auto; }
.brand img.word { width: 118px; height: auto; opacity: .92; }
.langs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(12, 11, 9, .6); }
.langs a { font: 600 12.5px/1 'Sofia Sans', sans-serif; letter-spacing: .14em; color: var(--muted); text-decoration: none;
  padding: 7px 12px; border-radius: 999px; }
.langs a[aria-current='true'] { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #1a1408; }
.head { padding: 56px 0 30px; text-align: center; }
.eyebrow { font: 600 12.5px/1 'Sofia Sans', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.game { font-family: 'Cinzel', serif; font-weight: 600; font-size: clamp(30px, 6.4vw, 50px); line-height: 1.08; margin: 0;
  letter-spacing: .02em; background: linear-gradient(180deg, #fff3cf 0%, var(--gold-light) 42%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.rule { width: 120px; height: 1px; margin: 22px auto 18px; background: linear-gradient(90deg, transparent, var(--gold), transparent); position: relative; }
.rule::after { content: ''; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3.5px; transform: rotate(45deg);
  background: var(--bg-2); border: 1px solid var(--gold); }
.meta { margin: 0; color: var(--muted); font-size: 14.5px; }
.meta span + span::before { content: '·'; margin: 0 .6em; color: var(--dim); }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 30px 0 0; }
.tabs a { position: relative; padding: 12px 20px 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current='page'] { color: var(--gold-light); }
.tabs a[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep)); border-radius: 2px; }

/* Body */
main { padding: 40px 0 30px; }
.summary { margin: 0 0 40px; padding: 20px 22px 20px 24px; background: linear-gradient(90deg, rgba(201, 162, 77, .09), rgba(201, 162, 77, .02));
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; }
.summary h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.summary ul { margin: 0; padding: 0; list-style: none; }
.summary li { position: relative; padding-left: 22px; margin: 6px 0; }
.summary li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
section { padding: 6px 0 4px; }
section + section { border-top: 1px solid rgba(201, 162, 77, .1); margin-top: 22px; padding-top: 26px; }
h2.s { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #f6f0e2; letter-spacing: .005em; }
h2.s .n { flex: none; font: 600 14px/1 'Cinzel', serif; color: var(--gold); min-width: 22px; }
h3 { margin: 18px 0 6px; font-size: 17px; color: var(--gold-light); font-weight: 700; }
p { margin: 0 0 12px; }
main ul { margin: 6px 0 14px; padding: 0; list-style: none; }
main section li { position: relative; padding-left: 20px; margin: 7px 0; }
main section li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 8px; height: 1px; background: var(--gold); }
b, strong { color: #f6f0e2; font-weight: 700; }
.muted { color: var(--muted); }

/* Support */
.contact { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin: 0 0 38px; padding: 24px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: radial-gradient(140% 120% at 100% 0%, rgba(201, 162, 77, .14), transparent 60%), var(--card); }
.contact h2 { margin: 0 0 4px; font-size: 21px; color: #f6f0e2; }
.contact p { margin: 0; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; color: #1a1408; background: linear-gradient(180deg, var(--gold-light), var(--gold)); white-space: nowrap;
  box-shadow: 0 6px 24px rgba(201, 162, 77, .18), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn:hover { color: #1a1408; filter: brightness(1.07); }
details { border: 1px solid var(--line); border-radius: 10px; background: rgba(23, 20, 15, .7); margin: 10px 0; }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 700; color: #f1ebdd; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > div { padding: 0 18px 6px; color: #d9d2c3; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 4px; }
.chip { display: inline-flex; align-items: center; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; background: rgba(23, 20, 15, .6); }
a.chip:hover { border-color: var(--gold); color: var(--gold-light); }
span.chip { color: var(--muted); border-style: dashed; }

footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 40px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img.word { display: none; }
  .head { padding: 40px 0 24px; }
  .tabs a { padding: 12px 14px 14px; }
  h2.s { font-size: 20px; gap: 10px; }
  .contact { grid-template-columns: 1fr; }
  .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary::after { transition: none; } }
@media print {
  body { background: #fff; color: #000; }
  .hero::before, .langs, .tabs { display: none; }
  .game { color: #000; background: none; }
  html[data-lang] div.l { display: block !important; }
}
