/* ==========================================================================
   IAFAS Play — estilos
   ========================================================================== */
:root {
  --blue: #0B3D91;
  --blue-dark: #072B66;
  --blue-light: #E8EEF9;
  --red: #D7263D;
  --red-dark: #B01B2E;
  --red-light: #FBE9EC;
  --green: #1F8A4C;
  --green-light: #E6F4EC;
  --amber: #B7791F;
  --amber-light: #FDF3DF;
  --gray: #6B7280;
  --gray-light: #EEF1F6;
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --text: #1B2430;
  --muted: #5B6675;
  --border: #DDE3EC;
  --shadow: 0 1px 2px rgba(11, 61, 145, .06), 0 8px 24px rgba(11, 61, 145, .08);
  --radius: 12px;
  --radius-sm: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .3em; }
small { font-size: .875em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .container { padding-left: 24px; padding-right: 24px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 2000; }
.skip-link:focus { top: 8px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.lead { font-size: 1.125rem; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font: inherit; }

/* ---- Badges / status --------------------------------------------------- */
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor;
  font-size: 11px; font-weight: 800; letter-spacing: -.02em; flex: 0 0 auto;
}
.badge-18--lg { width: 40px; height: 40px; font-size: 14px; }
.badge-18--xl { width: 56px; height: 56px; font-size: 18px; border-width: 3px; color: var(--red); margin: 0 auto 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-light); color: var(--blue); font-size: .8rem; font-weight: 600; }
.tag--red { background: var(--red-light); color: var(--red-dark); }
.tag--gray { background: var(--gray-light); color: var(--muted); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.status--ok { background: var(--green-light); color: var(--green); }
.status--pending { background: var(--amber-light); color: var(--amber); }
.status--review { background: var(--blue-light); color: var(--blue); }
.status--rejected { background: var(--red-light); color: var(--red-dark); }
.status--refund { background: var(--gray-light); color: var(--muted); }
.status--neutral { background: var(--gray-light); color: var(--text); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--secondary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--blue); border-color: transparent; }
.btn--ghost:hover { background: var(--blue-light); }
.btn--white { background: #fff; color: var(--blue); border-color: #fff; }
.btn--white:hover { background: var(--blue-light); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .9rem; border-radius: 8px; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Topbar / header ----------------------------------------------------- */
.topbar { background: var(--blue-dark); color: #fff; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 12px; min-height: 36px; padding-top: 4px; padding-bottom: 4px; flex-wrap: wrap; }
.topbar .badge-18 { width: 24px; height: 24px; font-size: 10px; }
.topbar__warn { font-weight: 600; text-transform: uppercase; letter-spacing: .02em; flex: 1 1 auto; min-width: 0; }
.topbar__geo { margin-left: auto; opacity: .85; }
@media (max-width: 767px) { .topbar__geo { display: none; } }

.header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { color: var(--blue); display: inline-flex; }
.logo__svg { height: 34px; width: auto; }
.logo--footer { color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 8px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__list li { margin: 0; }
.nav__list a { display: block; padding: 10px 12px; color: var(--text); font-weight: 600; text-decoration: none; border-radius: 8px; position: relative; }
.nav__list a:hover { background: var(--blue-light); color: var(--blue); }
.nav__list a[aria-current="page"] { color: var(--red); }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); border-radius: 2px; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__balance { font-size: .9rem; color: var(--muted); padding-right: 6px; }
.nav__balance strong { color: var(--text); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 12px 10px; font-size: 1.05rem; }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav__actions { flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--border); }
  .nav__actions .btn { flex: 1; }
  .nav__balance { width: 100%; padding: 0 0 4px; }
}

/* ---- Layout blocks ------------------------------------------------------- */
.main { min-height: 50vh; }
.flash-wrap { padding-top: 16px; }
.section { padding: 56px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--tight { padding: 36px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 4px 0 0; color: var(--muted); }
.section__link { font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .section { padding: 40px 0; } }

.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 44px 0 36px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 200%; background: linear-gradient(120deg, var(--red) 0 34%, transparent 34% 66%, var(--blue) 66%); opacity: .07; transform: skewX(-20deg); pointer-events: none; }
.page-head h1 { margin-bottom: 10px; }
.page-head .lead { max-width: 760px; margin-bottom: 0; }
.page-head__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

/* ---- Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1553B8 100%); padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 42%; height: 170%; background: linear-gradient(90deg, rgba(215,38,61,.9) 0 26%, rgba(255,255,255,.14) 26% 52%, rgba(215,38,61,.9) 52% 78%, transparent 78%); transform: skewX(-22deg); opacity: .22; pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 26px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__badges .tag { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__note { font-size: .85rem; color: rgba(255,255,255,.75); margin: 0; }
.hero__card { background: #fff; color: var(--text); border-radius: 16px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero__card h2 { font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero__card h2 .tag { font-size: .7rem; }
.draw-list { list-style: none; margin: 0; padding: 0; }
.draw-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); margin: 0; }
.draw-list li:last-child { border-bottom: 0; }
.draw-list__game { font-weight: 700; }
.draw-list__game small { display: block; font-weight: 500; color: var(--muted); }
.draw-list__time { text-align: right; font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 700; white-space: nowrap; }
.draw-list__time small { display: block; color: var(--muted); font-weight: 500; }

/* ---- Grids / cards -------------------------------------------------------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card--shadow { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-light); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.card__icon--red { background: var(--red-light); color: var(--red); }
.card__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .92rem; }
.card__meta dt { color: var(--muted); }
.card__meta dd { margin: 0; font-weight: 600; }
.card__footer { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

.game-card { position: relative; overflow: hidden; padding-top: 26px; }
.game-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%); }
.game-card--casino::before { background: linear-gradient(90deg, var(--red) 0 50%, var(--blue-dark) 50%); }
.game-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.game-card__balls { display: flex; gap: 6px; flex-wrap: wrap; }
.ball { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #fff; background: var(--blue); box-shadow: inset -3px -3px 0 rgba(0,0,0,.15); }
.ball--red { background: var(--red); }
.ball--dark { background: var(--blue-dark); }

/* ---- Steps ------------------------------------------------------------------ */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps--5 { grid-template-columns: repeat(5, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px 20px; margin: 0; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps--list { grid-template-columns: 1fr !important; gap: 14px; }
.steps--list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps--list li::before { margin: 0; width: 44px; height: 44px; font-size: 1.1rem; }
.steps--list p { font-size: 1rem; }

/* ---- Responsible gambling band --------------------------------------------- */
.rg-band { background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .rg-band { grid-template-columns: 1fr auto; } }
.rg-band h2 { font-size: 1.35rem; margin-bottom: 6px; }
.rg-band p { margin: 0; color: var(--muted); }
.rg-band__contact { text-align: center; background: var(--red-light); border-radius: 10px; padding: 14px 22px; }
.rg-band__contact strong { display: block; font-size: 1.5rem; color: var(--red-dark); letter-spacing: .02em; }
.rg-band__contact small { color: var(--red-dark); }

/* ---- Alerts / notices ------------------------------------------------------- */
.alert { padding: 14px 18px; border-radius: 10px; border: 1px solid; margin-bottom: 16px; font-size: .95rem; }
.alert p:last-child { margin-bottom: 0; }
.alert--success { background: var(--green-light); border-color: #B8E0C6; color: #14532D; }
.alert--error { background: var(--red-light); border-color: #F3B4BD; color: #7F1D1D; }
.alert--info { background: var(--blue-light); border-color: #C3D2F0; color: var(--blue-dark); }
.alert--warning { background: var(--amber-light); border-color: #EBD3A2; color: #7C4A03; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-light); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.notice--red { background: var(--red-light); }
.notice--amber { background: var(--amber-light); }
.notice .badge-18 { color: var(--red); margin-top: 2px; }

/* ---- Tables ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--gray-light); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table--compact { min-width: 0; }
.table--compact th, .table--compact td { padding: 9px 12px; }
.results-list { display: grid; gap: 16px; }
.result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.result__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.result__head h3 { margin: 0; }
.result__meta { color: var(--muted); font-size: .9rem; }
.result__rows { display: grid; gap: 6px 16px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .result__rows { grid-template-columns: auto 1fr; } }
.result__rows dt { color: var(--muted); font-size: .9rem; }
.result__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.result__foot { margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* ---- Forms ---------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; width: 100%; padding: 11px 14px; border: 1px solid #C5CDD9; border-radius: var(--radius-sm); background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(11,61,145,.15); outline-offset: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .85rem; color: var(--muted); }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; padding: 0; }
.field--check label { font-weight: 500; font-size: .95rem; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form__errors { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Tabs ------------------------------------------------------------------------ */
.tabs__nav { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tabs__btn { background: none; border: 0; padding: 12px 18px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs__btn[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tabs__panel[hidden] { display: none; }

/* ---- FAQ --------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--red); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 16px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq h2 { margin-top: 32px; font-size: 1.3rem; }
.faq h2:first-child { margin-top: 0; }

/* ---- Legal / prose ------------------------------------------------------------------ */
.legal-layout { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; }
.toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 1023px) { .toc { position: static; } }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose table { min-width: 0; }
.prose .table-wrap { margin: 1.2em 0; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.doc-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 28px; }
.doc-meta strong { color: var(--text); }

.info-grid { display: grid; gap: 14px 24px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 200px 1fr; } }
.info-grid dt { color: var(--muted); font-weight: 600; }
.info-grid dd { margin: 0; }

/* ---- Account ------------------------------------------------------------------------- */
.account { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .account { grid-template-columns: 250px 1fr; } }
.account__nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.account__nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.account__nav a:hover { background: var(--blue-light); color: var(--blue); }
@media (max-width: 1023px) { .account__nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; } }
.account__section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.account__section h2 { font-size: 1.25rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.stat small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.stat strong { font-size: 1.2rem; display: block; margin-top: 4px; }
.stat--accent { background: var(--blue-light); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--bg); }
.checklist li::before { content: "•"; color: var(--red); font-weight: 800; }
.checklist li.is-ok::before { content: "✓"; color: var(--green); }
.auth-box { max-width: 560px; }
.auth-grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .auth-grid { grid-template-columns: 1.1fr .9fr; } }

/* ---- Footer ---------------------------------------------------------------------------- */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.85); margin-top: 40px; font-size: .93rem; }
.footer a { color: #fff; }
.footer a:hover { color: #FFB3BC; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding: 48px 16px 36px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__org { font-weight: 700; color: #fff; margin-top: 14px; }
.footer__title { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a, .footer__links .link-btn { text-decoration: none; color: rgba(255,255,255,.85); }
.footer__links a:hover, .footer__links .link-btn:hover { color: #fff; text-decoration: underline; }
.footer__rg { display: flex; gap: 14px; align-items: center; color: #fff; margin-bottom: 12px; }
.footer__rg p { margin: 0; }
.footer__phone { font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: .82rem; color: rgba(255,255,255,.65); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* ---- Age gate ---------------------------------------------------------------------------- */
.agegate { position: fixed; inset: 0; z-index: 1000; background: rgba(7,43,102,.88); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.agegate[hidden] { display: none; }
.agegate__box { background: #fff; border-radius: 16px; padding: 32px 28px; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.agegate__logo { color: var(--blue); display: flex; justify-content: center; margin-bottom: 16px; }
.agegate__logo .logo__svg { height: 36px; }
.agegate__title { font-size: 1.6rem; margin-bottom: 8px; }
.agegate__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 20px 0 14px; }
.agegate__actions .btn { flex: 1 1 200px; }
.agegate__note { font-size: .82rem; color: var(--muted); margin: 0; }
.agegate__step[hidden] { display: none; }

/* ---- Cookie bar / modal --------------------------------------------------------------------- */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(11,61,145,.12); }
.cookiebar[hidden] { display: none; }
.cookiebar__inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.cookiebar__text { margin: 0; font-size: .9rem; flex: 1 1 380px; }
.cookiebar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.modal { position: fixed; inset: 0; z-index: 1100; background: rgba(7,43,102,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__box { background: #fff; border-radius: 16px; padding: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.modal__title { margin: 0; font-size: 1.3rem; }
.modal__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); width: 36px; height: 36px; border-radius: 8px; }
.modal__close:hover { background: var(--gray-light); color: var(--text); }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cookie-opt { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); font-size: .95rem; }
.cookie-opt small { color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.switch input { width: 20px; height: 20px; }
.switch--locked { color: var(--muted); }

/* ---- 404 ---------------------------------------------------------------------------------------- */
.error-page { text-align: center; padding: 80px 0; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 10px; }

/* ---- Misc ---------------------------------------------------------------------------------------- */
.kv { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.kv strong { color: var(--text); }
.cta-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; border-radius: 16px; padding: 36px 32px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .topbar, .header, .footer, .agegate, .cookiebar, .modal, .toc, .account__nav { display: none !important; }
}

/* ---- карточки-ссылки ---- */
a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: inherit; }
a.card h3 { color: var(--blue); }
.jugar-list { display: grid; gap: 10px; }
.jugar-list__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.jugar-list__item strong { display: block; }
.jugar-list__item small { color: var(--muted); }

/* ==== Растровые изображения ==== */
.hero__media { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); aspect-ratio: 4 / 3; display: block; background: var(--blue-dark); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }

.draws-strip { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0; }
.draws-strip__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.draws-strip__title { font-size: 1rem; margin: 0; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.draws-strip__title .tag { font-size: .7rem; }
.draws-strip .draw-list { display: flex; gap: 10px; flex: 1 1 520px; flex-wrap: wrap; }
.draws-strip .draw-list li { flex: 1 1 140px; flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--bg); font-size: .9rem; }
.draws-strip .draw-list__game small { font-size: .8rem; }
.draws-strip .draw-list__time { text-align: left; font-size: 1rem; }
.draws-strip .draw-list__time small { display: inline; margin-left: 6px; font-size: .8rem; }
.draws-strip__link { white-space: nowrap; font-weight: 600; flex: 0 0 auto; }

.game-card::before, .game-card--casino::before { display: none; }
.game-card { padding-top: 22px; }
.game-card__media { position: relative; margin: -22px -22px 4px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--gray-light); }
.game-card__media picture, .game-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-card__status { position: absolute; top: 12px; right: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }

.page-head--img::before { display: none; }
.page-head--img { padding: 0; }
.page-head--img .container { position: relative; padding-top: 44px; padding-bottom: 36px; }
.page-head--img .lead, .page-head--img h1 { max-width: 600px; }
.page-head__img { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.page-head__img picture, .page-head__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.page-head__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, var(--surface) 10%, rgba(255,255,255,.9) 26%, rgba(255,255,255,.35) 55%, rgba(255,255,255,0) 100%); }
@media (max-width: 767px) {
  .page-head__img { position: static; width: 100%; aspect-ratio: 21 / 9; }
  .page-head__img::after { display: none; }
  .page-head--img .container { padding-top: 24px; padding-bottom: 28px; }
}

/* ==== Логотипы в футере ==== */
.footer__logos { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 8px; }
.logo-row { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; padding: 8px 0 12px; }
.logo-row__label { flex: 0 0 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.logo-row__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 14px 30px; flex-wrap: wrap; flex: 1 1 auto; }
.logo-row__list li { margin: 0; display: flex; align-items: center; }
.logo-row__list a { display: inline-flex; opacity: .9; transition: opacity .15s; }
.logo-row__list a:hover { opacity: 1; }
.logo-row__img { width: auto; display: block; opacity: .92; }
.logo-row__img--h16 { height: 16px; } .logo-row__img--h18 { height: 18px; } .logo-row__img--h20 { height: 20px; }
.logo-row__img--h22 { height: 22px; } .logo-row__img--h24 { height: 24px; } .logo-row__img--h26 { height: 26px; }
.logo-row__img--h28 { height: 28px; } .logo-row__img--h30 { height: 30px; } .logo-row__img--h34 { height: 34px; }
.logo-row__img--h40 { height: 40px; } .logo-row__img--h48 { height: 48px; } .logo-row__img--h56 { height: 56px; }
@media (max-width: 639px) { .logo-row__list { gap: 12px 22px; } .logo-row__img { transform: scale(.9); transform-origin: left center; } }
