:root {
  color-scheme: dark;
  --page: #15130f;
  --card: #201c16;
  --ink: #f6eddc;
  --secondary: #cebea4;
  --line: #493c2c;
  --gold: #efcc8c;
  font: 16px/1.5 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: clamp(19px, 5.2vw, 76px); }
.header, .footer { position: relative; z-index: 1; }
.header { z-index: 2; border-bottom: 1px solid var(--line); }
.header .wrap, .footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.header .wrap { min-height: 65px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.mark { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; width: 18px; height: 18px; rotate: -12deg; }
.mark i { background: var(--gold); border-radius: 2px; }
.mark i:nth-child(2) { border-radius: 50%; }
.mark i:nth-child(3) { opacity: .55; }
.header nav { display: flex; align-items: center; min-width: 0; gap: clamp(8px, 2vw, 26px); font-size: 13px; }
.header nav a { flex-shrink: 0; }
.header nav a, .footer a { color: var(--secondary); }
.header nav a:hover, .footer a:hover { color: var(--gold); text-decoration: underline; }
.language-control { position: relative; }
.language-trigger { min-width: 42px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--card); font-weight: 700; text-align: center; cursor: pointer; list-style: none; }
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger::marker { content: ""; }
.language-trigger:hover, .language-control[open] > .language-trigger { border-color: var(--gold); }
.language-options { position: absolute; inset-inline-end: 0; z-index: 1; width: max-content; max-width: min(16rem, 80vw); max-height: min(22rem, 70vh); margin: 6px 0 0; padding: 4px; overflow: auto; list-style: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px #0007; }
.language-options button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 4px; color: inherit; background: transparent; font: inherit; text-align: start; cursor: pointer; }
.language-options button:hover, .language-options button[aria-current="true"] { background: #322719; color: var(--gold); }
.language-options button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(420px, 36vw, 548px); }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 77%; height: 100%; object-fit: cover; object-position: 57% 33%; }
.hero::before { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(90deg, var(--page) 9%, #15130ff6 23%, #15130fb0 40%, #15130f10 68%), linear-gradient(0deg, var(--page) 0%, #15130f00 25%); }
.hero .wrap { width: 100%; }
.hero-copy { max-width: 680px; padding-block: 42px; }
.hero h1 { font: 400 clamp(51px, 7.2vw, 106px)/.91 Georgia, serif; letter-spacing: -.064em; white-space: pre-line; text-wrap: balance; overflow-wrap: anywhere; }
.hero p { max-width: 320px; color: var(--secondary); margin: 19px 0 22px; font-size: clamp(15px, 1.4vw, 19px); }
.play { display: inline-flex; min-height: 39px; width: max-content; align-items: center; gap: 9px; padding: 8px 13px; white-space: nowrap; color: #201709; background: var(--gold); border: 1px solid var(--gold); border-radius: 7px; font-size: 13px; font-weight: 720; transition: background-color .15s; }
.play::before { content: ""; background: currentColor; width: 11px; height: 13px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play:hover { background: #ffe0a7; }
.hero .play { min-height: 46px; padding-inline: 17px; font-size: 15px; }
.games { padding-top: 13px; padding-bottom: 42px; }
.games h2 { margin-bottom: 14px; font: 400 clamp(25px, 2.6vw, 37px)/1.12 Georgia, serif; letter-spacing: -.035em; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.game { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.game:has(.choose-game:hover) { border-color: #a28658; }
.choose-game { position: absolute; z-index: 1; inset: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.choose-game:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.cover { width: 100%; aspect-ratio: 1.98; object-fit: cover; }
.game-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
.game-name { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 9px; }
.game-icon { width: 32px; height: 32px; border-radius: 5px; }
.game h3 { font-size: clamp(14px, 1.43vw, 20px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.game .play { position: relative; z-index: 2; margin-top: auto; min-height: 35px; background: transparent; border-color: #705d42; color: var(--gold); font-size: 12px; }
.game .play:hover { background: #322719; }
.footer { border-top: 1px solid var(--line); }
.footer .wrap { min-height: 61px; font-size: 13px; }
.policy { max-width: 780px; padding-block: 58px 76px; min-height: 495px; }
.policy-back { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin-top: 7px; padding: 7px 12px; border: 1px solid #705d42; border-radius: 7px; color: var(--gold); font-size: 14px; font-weight: 650; }
.policy-back:hover { background: #322719; }
.policy h1 { font: 400 clamp(32px, 6vw, 61px)/1.05 Georgia, serif; overflow-wrap: anywhere; }
.policy p { color: var(--secondary); margin: 13px 0 20px; }
.policy details { border-block-start: 1px solid var(--line); }
.policy details:last-child { border-block-end: 1px solid var(--line); }
.policy summary { padding: 10px 2px; cursor: pointer; }
.policy details p { margin: 0 0 14px 18px; }
@media (max-width: 740px) {
  .hero { min-height: 0; }
  .hero-image { width: 100%; height: min(335px, 83vw); object-position: 55% 25%; }
  .hero::before { background: linear-gradient(0deg, var(--page) 7%, #15130fed 28%, #15130f72 53%, #15130f00 79%); }
  .hero-copy { padding-block: clamp(132px, 45vw, 245px) 33px; }
  .hero h1 { font-size: clamp(39px, 11.4vw, 73px); }
  .hero p { margin: 13px 0 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .games { padding-top: 10px; padding-bottom: 31px; }
  .game-copy { padding: 9px; }
  .game-name { grid-template-columns: 27px 1fr; gap: 7px; }
  .game-icon { width: 27px; height: 27px; }
  .game .play { min-height: 40px; }
  .cover { aspect-ratio: 1.7; }
}
@media (max-width: 440px) {
  .header .wrap { min-height: 57px; }
  .footer .wrap { font-size: 11.5px; }
  .game h3 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }
  
.policy h2 { margin-top: 23px; font: 400 26px/1.18 Georgia, serif; }
.policy h2 + p { margin-top: 9px; }

