:root {
  color-scheme: dark;
  --bg: #252638;
  --header: #1c1c28;
  --surface: #2d2f43;
  --surface-2: #34364b;
  --line: #484a60;
  --text: #f8f8fb;
  --muted: #c5c6d2;
  --pink: #da2e71;
  --pink-dark: #b9205b;
  --focus: #ffd166;
  --header-h: 68px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
a, button, summary, select { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -100px; padding: 10px 16px; border-radius: 6px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 50; top: 0; min-height: var(--header-h); background: var(--header); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; gap: 16px; max-width: 1540px; min-height: var(--header-h); margin: auto; padding: 8px 22px; }
.brand { display: flex; flex: 0 0 132px; align-items: center; min-height: 44px; }
.brand img { width: 132px; height: 38px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 3px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 5px; color: #dedee7; font-size: 13px; font-weight: 600; }
.primary-nav a:hover, .primary-nav a.active { background: #30303f; color: #fff; }
.primary-nav a.active { box-shadow: inset 0 -2px var(--pink); }
.account-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.login-button, .register-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 15px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.login-button { background: linear-gradient(135deg, #da2e71, #7138a6); color: #fff; }
.register-button { background: #087874; color: #fff; }
.login-button:hover { background: linear-gradient(135deg, #b9205b, #5b2b88); }
.register-button:hover { background: #065e5b; }
.button.primary:hover { background: var(--pink-dark); }
.language-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 12px; font-weight: 700; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; }
.site-main { max-width: 1540px; min-height: 70vh; margin: auto; padding: 0 22px 54px; overflow: clip; }
.promo-hero { position: relative; min-height: 360px; margin: 0 -22px; overflow: hidden; background: #491b39; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.promo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,28,40,.94) 0%, rgba(28,28,40,.76) 38%, rgba(28,28,40,.08) 75%); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 680px; min-height: 360px; padding: 44px 22px; }
.hero-title { max-width: 620px; margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy > p:not(.eyebrow):not(.hero-title) { max-width: 590px; margin: 0 0 24px; color: #e5e5ec; font-size: 17px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-age { display: flex; align-items: center; gap: 9px; max-width: 230px; font-size: 12px; line-height: 1.35; }
.hero-age img { flex: 0 0 48px; width: 48px; height: 48px; }
.eyebrow { margin: 0 0 9px; color: #ff91bd; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.category-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 10px; padding: 20px 0 8px; overflow-x: auto; scrollbar-width: thin; }
.category-strip a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 13px; font-weight: 700; text-align: center; }
.category-strip a:hover { border-color: var(--pink); background: #3b2b43; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 26px 0 14px; }
.section-heading h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.game-filters { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.filter-chips { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; }
.filter-chips button, .reset-filter { min-height: 44px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #e1e1e9; cursor: pointer; }
.filter-chips button:hover, .filter-chips button.active { border-color: var(--pink); background: #49283f; color: #fff; }
.provider-filter { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 11px; }
.provider-filter select { min-width: 170px; min-height: 44px; padding: 7px 34px 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #fff; }
.reset-filter { flex: 0 0 auto; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.game-card { min-width: 0; overflow: hidden; border-radius: 8px; background: var(--surface); }
.game-card-link { display: block; height: 100%; border-radius: 8px; }
.game-art { position: relative; display: block; aspect-ratio: 420/280; overflow: hidden; background: #1c1c28; }
.game-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease, filter .22s ease; }
.game-card-link:hover .game-art > img { transform: scale(1.035); filter: brightness(.8); }
.game-shade { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(17,17,28,.96)); }
.game-copy { position: absolute; inset: auto 10px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; text-shadow: 0 2px 4px #000; }
.game-copy strong { max-width: 100%; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.game-copy small { margin-top: 4px; color: #e2e2e9; font-size: 10px; line-height: 1.2; }
.game-card[hidden] { display: none; }
.no-results { margin: 16px 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.trust-panel { display: grid; grid-template-columns: .8fr 1.4fr 1fr auto; gap: 18px; align-items: center; margin: 34px 0 12px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.trust-panel > div { display: flex; flex-direction: column; }
.trust-panel strong { font-size: 16px; }
.trust-panel span { color: var(--muted); font-size: 12px; }
.trust-panel > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border-radius: 5px; background: var(--pink); font-size: 13px; font-weight: 700; }
.home-heading, .page-intro { max-width: 1120px; margin: 42px auto 26px; }
.page-intro { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #303147, #38273f); }
h1 { max-width: 980px; margin: 0 0 15px; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.14; letter-spacing: -.025em; text-wrap: balance; }
.lead { max-width: 940px; margin: 0 0 23px; color: #dedee7; font-size: 18px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 5px; font-weight: 750; cursor: pointer; }
.button.primary { background: var(--pink); color: #fff; }
.button.secondary { border: 1px solid #858698; background: var(--header); color: #fff; }
.button.secondary:hover { border-color: #fff; }
.breadcrumbs { margin-bottom: 22px; font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: 5px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.content-sections { max-width: 1120px; margin: 0 auto; }
.content-section { margin: 20px 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 10px; background: rgba(45,47,67,.78); }
.content-section h2, .faq-section h2, .provider-directory h2 { margin: 0 0 15px; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.25; text-wrap: balance; }
.content-section h3 { margin: 24px 0 8px; font-size: 19px; }
.content-section p { margin: 0 0 14px; color: #dedee7; }
.content-section p:last-child { margin-bottom: 0; }
.content-section ul, .content-section ol { margin: 10px 0 16px; padding-left: 25px; color: #dedee7; }
.content-section li { margin: 7px 0; }
.content-section a { color: #ff9bc4; text-decoration: underline; text-underline-offset: 3px; }
.content-section a:hover { color: #fff; }
table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border: 1px solid #55576d; text-align: left; vertical-align: top; }
th { background: #34354a; color: #fff; }
td { color: #dedee7; }
.faq-section { max-width: 1120px; margin: 30px auto; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.faq-list summary { position: relative; min-height: 52px; padding: 15px 54px 15px 18px; font-weight: 700; cursor: pointer; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 10px; color: #ff91bd; font-size: 26px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.provider-directory { max-width: 1120px; margin: 24px auto; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.provider-directory > p { color: var(--muted); }
.provider-directory ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.provider-directory li { padding: 12px; border-radius: 6px; background: var(--surface-2); font-weight: 650; }
.final-cta { display: flex; align-items: center; gap: 14px; max-width: 1120px; margin: 34px auto 0; padding: 24px; border-radius: 10px; background: linear-gradient(100deg, #49243f, #303147); }
.final-cta > div { flex: 1; }
.final-cta h2 { margin: 0; }
.final-cta p { max-width: 650px; margin: 4px 0 0; color: #dedee7; font-size: 13px; }
.site-footer { padding: 40px 26px 22px; border-top: 1px solid var(--line); background: var(--header); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.55fr; gap: 30px; max-width: 1480px; margin: auto; }
.footer-grid h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: .06em; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.operator p, .operator a { color: var(--muted); font-size: 12px; line-height: 1.55; }
.operator a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; align-items: center; gap: 24px; max-width: 1480px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom p { max-width: 950px; margin: 0; }
.footer-bottom > span:last-child { margin-left: auto; white-space: nowrap; }
.footer-age { flex: 0 0 48px; }
.footer-age img { width: 48px; height: 48px; }
.site-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; overflow: auto; overscroll-behavior: contain; border: 1px solid #68697c; border-radius: 14px; background: #242536; color: #fff; box-shadow: 0 25px 80px #000; }
.site-dialog::backdrop { background: rgba(15,15,24,.86); backdrop-filter: blur(3px); }
.site-dialog h2 { margin: 8px 0 12px; font-size: 28px; }
.site-dialog p { color: #dedee7; }
.dialog-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 5px; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.support-fab { position: fixed; z-index: 35; right: 18px; bottom: 18px; min-height: 44px; padding: 8px 16px; border: 1px solid #77788b; border-radius: 24px; background: var(--header); box-shadow: 0 5px 20px rgba(0,0,0,.35); cursor: pointer; }
.sticky-cta { display: none; }
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100dvh; padding: 30px; text-align: center; }
.error-page > img { width: 150px; }
.error-code { margin: 20px 0 -10px; color: #ff78ab; font-size: 80px; font-weight: 900; line-height: 1; }
@media (max-width: 1100px) {
  .header-inner { gap: 9px; padding-inline: 14px; }
  .brand { flex-basis: 112px; }
  .brand img { width: 112px; }
  .primary-nav a { padding-inline: 8px; font-size: 12px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-panel { grid-template-columns: repeat(3, 1fr); }
  .trust-panel > a { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 62px; }
  .header-inner { gap: 7px; padding: 6px 10px; }
  .brand { flex-basis: 102px; }
  .brand img { width: 102px; }
  .nav-toggle { display: block; order: -1; }
  .primary-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; padding: 10px; border-bottom: 1px solid var(--line); background: var(--header); box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  .primary-nav.expanded { display: grid; grid-template-columns: repeat(3, 1fr); }
  .primary-nav a { justify-content: center; }
  .site-main { padding-inline: 14px; }
  .promo-hero { min-height: 320px; margin-inline: -14px; }
  .hero-copy { min-height: 320px; padding: 34px 18px; }
  .game-filters { align-items: stretch; flex-wrap: wrap; }
  .filter-chips { flex-basis: 100%; }
  .provider-filter { flex: 1; }
  .provider-filter select { width: 100%; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .page-intro { padding: 22px; }
  .lead { font-size: 16px; }
  .final-cta { flex-wrap: wrap; }
  .final-cta > div { flex-basis: 100%; }
  .sticky-cta { position: fixed; z-index: 34; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; }
  .sticky-cta.visible { display: block; }
  .sticky-cta .button { box-shadow: 0 8px 25px #000; }
  .support-fab { bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .login-button { display: none; }
  .register-button { padding-inline: 11px; }
  .promo-hero, .hero-copy { min-height: 390px; }
  .promo-hero::after { background: linear-gradient(90deg, rgba(28,28,40,.94), rgba(28,28,40,.6)); }
  .hero-copy { justify-content: flex-end; padding-bottom: 28px; }
  .hero-title { font-size: 29px; }
  .hero-copy > p:not(.eyebrow):not(.hero-title) { font-size: 15px; }
  .hero-age { max-width: 190px; }
  .category-strip { grid-auto-columns: 120px; }
  .section-heading h2 { font-size: 20px; }
  .filter-chips { flex-wrap: nowrap; padding-bottom: 5px; overflow-x: auto; }
  .filter-chips button { flex: 0 0 auto; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-copy { inset-inline: 6px; bottom: 7px; }
  .game-copy strong { font-size: 11px; }
  .game-copy small { font-size: 9px; }
  .trust-panel { grid-template-columns: 1fr; text-align: center; }
  .home-heading, .page-intro { margin-top: 28px; }
  .page-intro { padding: 18px; }
  h1 { font-size: 28px; }
  .content-section { padding: 18px; }
  table { display: block; overflow-x: auto; }
  th, td { padding: 9px; }
  .provider-directory { padding: 20px; }
  .site-footer { padding: 30px 18px 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .operator { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; }
  .footer-bottom > span:last-child { margin-left: 0; }
  .site-dialog { padding: 28px 20px; }
  .support-fab { right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); font-size: 12px; }
}
@media (max-width: 350px) {
  .header-inner { gap: 3px; padding-inline: 5px; }
  .brand { flex-basis: 82px; }
  .brand img { width: 82px; }
  .register-button { padding-inline: 8px; font-size: 10px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-actions .button { width: 100%; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .promo-hero, .hero-copy { min-height: 290px; }
  .hero-copy { padding-block: 22px; }
  .hero-title { font-size: 28px; }
  .site-dialog { max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
