/* Win.Bet multilingual theme: structure. Visual identity lives in t1..t7.css */
:root {
  --bg: #f6f7fb; --surface: #fff; --surface-2: #eef1f8; --text: #15171f; --muted: #5b6078; --line: #e2e5f0;
  --main: #2e65eb; --main-2: #1f4fd0; --on-main: #fff; --accent: #ffc94d; --link: #2e65eb;
  --head-bg: #fff; --head-fg: #15171f; --strip-bg: #15171f; --strip-fg: #fff;
  --lead-bg: transparent; --lead-fg: var(--text); --lead-muted: var(--muted);
  --quick-bg: #fff; --quick-line: var(--main); --quick-label: var(--main);
  --foot-bg: #101219; --foot-fg: #b9bdd3; --foot-head: #fff;
  --r: 12px; --r-lg: 20px; --shadow: 0 8px 28px rgba(15, 18, 30, .08);
  --f-head: system-ui, sans-serif; --f-body: system-ui, sans-serif;
  --w: 1200px; --rail: 320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.18; margin: 0; }
.w { max-width: var(--w); margin: 0 auto; padding: 0 16px; }
.skiplink { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--main); color: var(--on-main); padding: 8px 14px; }
.skiplink:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r);
  font: 700 15px/1 var(--f-head); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn--main { background: var(--main); color: var(--on-main); }
.btn--main:hover { background: var(--main-2); }
.btn--line { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 28%, transparent); }
.btn--line:hover { border-color: currentColor; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* strip + masthead */
.strip { background: var(--strip-bg); color: var(--strip-fg); font-size: 14px; }
.strip__row { display: flex; align-items: center; gap: 12px; min-height: 38px; }
.strip__txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip__link { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.badge18 { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1.5px solid currentColor; font: 800 11px/1 var(--f-head); }
.badge18--lg { min-width: 44px; height: 32px; font-size: 14px; }
.masthead { position: sticky; top: 0; z-index: 20; background: var(--head-bg); color: var(--head-fg); border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; align-items: center; gap: 18px; min-height: 68px; position: relative; }
.brand img { height: 28px; width: auto; }
.menu { flex: 1; }
.menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; white-space: nowrap; padding: 8px 9px; border-radius: 8px; color: inherit; text-decoration: none; font: 600 14.5px/1.2 var(--f-head); opacity: .82; }
.menu a:hover, .menu a[aria-current] { opacity: 1; color: var(--main); }
.masthead__cta { display: flex; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; content: ''; transition: .2s; }
.burger span { top: 21px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
.nav-open .burger span { background: transparent; } .nav-open .burger span::before { top: 0; transform: rotate(45deg); } .nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* language switcher (works without JS) */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); font: 600 14px/1 var(--f-head); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary b { font-weight: 800; }
.lang summary span { opacity: .75; }
.lang summary::after { content: '▾'; font-size: 11px; opacity: .6; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 180px; list-style: none; margin: 0; padding: 6px; border-radius: 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lang li a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 15px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--surface-2); }
.lang li b { min-width: 24px; }

/* lead (hero) */
.lead { background: var(--lead-bg); color: var(--lead-fg); }
.lead__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.is-service .lead__grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--lead-muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; }
.lead h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin-bottom: 18px; }
.quick { background: var(--quick-bg); border-left: 4px solid var(--quick-line); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); color: var(--text); }
.quick__label { display: block; font: 800 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--quick-label); margin-bottom: 8px; }
.quick p { margin: 0; font-size: 17px; }
.lead__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; font-size: 14px; color: var(--lead-muted); }
.byline a { color: inherit; }
.byline .age { font-weight: 800; }
.kpis { display: none; }

/* offers (official artwork + live text) */
.offer { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: #0b1430; color: #fff; text-decoration: none; isolation: isolate; aspect-ratio: 716 / 300; min-height: 200px; }
.offer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.offer__img { position: absolute; right: -4%; bottom: 0; height: 100%; width: auto; max-width: 62%; object-fit: contain; object-position: right bottom; z-index: -1; transition: transform .4s; }
.offer:hover .offer__img { transform: scale(1.04); }
.offer__txt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px; max-width: 62%; height: 100%; justify-content: center; }
.offer__kicker { font: 700 12px/1 var(--f-head); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.offer__title { font: 800 clamp(22px, 2.6vw, 32px)/1.05 var(--f-head); }
.offer__sub { font-size: 14px; opacity: .9; margin-bottom: 10px; line-height: 1.35; }
.offer__age { position: absolute; right: 12px; top: 12px; font: 800 11px/1 var(--f-head); border: 1.5px solid rgba(255,255,255,.7); border-radius: 6px; padding: 4px 6px; }
.offer--full { aspect-ratio: 780 / 650; background: #0f6e63; }
.offer--full .offer__img { inset: 0; right: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.offer--full .offer__txt { max-width: none; justify-content: flex-end; background: linear-gradient(transparent 35%, rgba(4, 22, 28, .9)); }
.offer--crypto { background: #0e1a14; }
.offer--crypto .offer__img { object-fit: contain; object-position: center 20%; }
.offer--crypto .offer__title, .offer--crypto .offer__sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.offer--crypto .offer__txt { background: linear-gradient(transparent 55%, rgba(6, 18, 12, .92)); }
.offer--hero { aspect-ratio: 16 / 11; min-height: 300px; box-shadow: 0 24px 60px rgba(10, 20, 60, .25); }
.offer--hero .offer__img { max-width: 70%; }
.offer--hero.offer--full .offer__img { max-width: none; }
.offer--wide { aspect-ratio: 716 / 220; margin: 28px 0; }
.offer--wide.offer--full { aspect-ratio: 716 / 260; }
.offer--wide.offer--full .offer__img { object-position: center 30%; }
.offer--side { aspect-ratio: 4 / 3; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.offers .offer { aspect-ratio: 780 / 700; min-height: 0; }
.offers .offer:not(.offer--full) .offer__img { max-width: 70%; opacity: .9; }
.offers .offer__txt { max-width: none; padding: 16px; }
.offers .offer__title { font-size: 20px; }
.offers .offer:not(.offer--full) .offer__txt { justify-content: flex-end; background: linear-gradient(transparent 30%, rgba(5, 10, 30, .82)); }

/* frame */
.frame { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail); gap: 40px; align-items: start; padding-top: 18px; padding-bottom: 56px; }
.frame--solo { grid-template-columns: minmax(0, 860px); }
.rail { display: grid; gap: 16px; align-self: stretch; align-content: start; }
.rail__offer { position: sticky; top: 88px; }
.rail__rg { font-size: 14px; color: var(--muted); padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r); }
.rail__rg b { color: var(--text); margin-right: 4px; }

/* contents (TOC) */
.contents { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 28px; }
.contents__title { display: block; font: 800 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.contents ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15.5px; }
.contents li { break-inside: avoid; padding: 3px 0; }
.contents a { color: var(--text); text-decoration: none; }
.contents a:hover, .contents a.on { color: var(--main); }

/* doc (article body) */
.doc { font-size: 17.5px; }
.doc > * + * { margin-top: 1.05em; }
.doc h2 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 800; margin-top: 1.9em; scroll-margin-top: 96px; }
.doc h3 { font-size: 21px; font-weight: 700; margin-top: 1.5em; }
.doc p { margin-bottom: 0; }
.doc ul, .doc ol { padding-left: 1.3em; margin-bottom: 0; }
.doc li + li { margin-top: .35em; }
.doc ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.doc ol.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 0; }
.doc ol.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--main); color: var(--on-main); font: 800 15px/1 var(--f-head); }
.tip { background: color-mix(in srgb, var(--accent) 15%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: var(--r); padding: 14px 18px; font-size: 16px; }
.fine { font-size: 13.5px; color: var(--muted); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc thead th { background: var(--surface-2); font-family: var(--f-head); font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.doc tbody tr:last-child td { border-bottom: 0; }

/* facts */
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--text); }
.facts__head { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--main); color: var(--on-main); }
.facts__head span { font: 800 17px/1.2 var(--f-head); }
.facts__head small { opacity: .85; font-size: 12.5px; }
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts th, .facts td { padding: 9px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts th { color: var(--muted); font-weight: 500; width: 44%; }
.facts td { font-weight: 600; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts--inline { margin: 28px 0; }

/* cta */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--main), var(--main-2)); color: var(--on-main); margin: 28px 0; }
.cta__txt { display: flex; flex-direction: column; gap: 2px; }
.cta__txt b { font: 800 20px/1.2 var(--f-head); }
.cta__txt span { font-size: 13.5px; opacity: .85; }
.cta .btn--main { background: #fff; color: #111; }

/* game tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 4.4; padding: 14px; border-radius: var(--r); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .2s; }
.tile:hover { transform: translateY(-3px); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.32), transparent 45%), linear-gradient(160deg, var(--g1, #5c6bc0), var(--g2, #111a4d)); }
.tile::after { content: attr(data-l); position: absolute; right: -6px; top: -18px; z-index: -1; font: 800 120px/1 var(--f-head); color: rgba(255,255,255,.16); }
.tile__name { font: 800 17px/1.15 var(--f-head); }
.tile__prov { font-size: 12.5px; opacity: .85; }
.tile__badge { position: absolute; top: 10px; left: 10px; font: 800 11.5px/1 var(--f-head); background: rgba(0,0,0,.35); padding: 5px 8px; border-radius: 20px; }
.tile--aviator { --g1: #ff5252; --g2: #7f0000; } .tile--plinko { --g1: #ec407a; --g2: #4a148c; } .tile--mines { --g1: #26c6da; --g2: #0d3b66; }
.tile--chicken { --g1: #ffca28; --g2: #e65100; } .tile--tiger { --g1: #ffb300; --g2: #c62828; } .tile--bonanza { --g1: #ff8fb1; --g2: #c2185b; }
.tile--olympus { --g1: #90caf9; --g2: #283593; } .tile--bandit { --g1: #a1887f; --g2: #3e2723; } .tile--gems { --g1: #4dd0e1; --g2: #6a1b9a; }
.tile--chilli { --g1: #ff7043; --g2: #b71c1c; } .tile--avia { --g1: #4fc3f7; --g2: #01579b; }
.tile--roulette { --g1: #43a047; --g2: #0b3d1e; } .tile--blackjack { --g1: #5c6bc0; --g2: #111a4d; }

/* sports */
.sports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sport { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 444 / 420; background: #1a1c26; }
.sport img { width: 100%; height: 100%; object-fit: cover; }
.sport span { position: absolute; left: 12px; bottom: 10px; color: #fff; font: 800 16px/1 var(--f-head); text-shadow: 0 2px 8px rgba(0,0,0,.6); }

/* payments */
.pay { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pay li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font: 600 13px/1 var(--f-head); color: #15171f; }
.pay img { height: 22px; width: auto; max-width: 56px; object-fit: contain; }

/* faq */
.qa__list { display: grid; gap: 10px; margin-top: 16px; }
.qa__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa__item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 24px/1 var(--f-head); color: var(--main); transition: transform .2s; }
.qa__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa__item h3 { font-size: 17.5px; margin: 0; }
.qa__a { padding: 0 18px 16px; }
.qa__a > * + * { margin-top: .7em; }
.qa__a p { margin: 0; }

/* related */
.more { padding: 48px 0; background: var(--surface-2); }
.more__title { font-size: 26px; margin-bottom: 18px; }
.more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--main); transform: translateY(-2px); }
.card b { font: 700 17px/1.3 var(--f-head); }
.card span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* footer */
.foot { background: var(--foot-bg); color: var(--foot-fg); padding: 48px 0 96px; font-size: 14.5px; }
.foot a { color: var(--foot-fg); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.foot__brand img { height: 26px; width: auto; margin-bottom: 12px; }
.foot__h { display: block; color: var(--foot-head); font: 700 15px/1 var(--f-head); margin-bottom: 12px; }
.foot__h--sp { margin-top: 22px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .pay { display: flex; gap: 6px; }
.foot .pay li { padding: 5px 9px 5px 6px; font-size: 12px; }
.foot .pay img { height: 18px; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 24px; font-size: 13px; line-height: 1.6; }
.foot__badges { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; color: var(--foot-head); }
.foot__badges img { height: 32px; width: auto; }
.foot__copy { opacity: .7; }
.dock { display: none; }

/* responsive */
@media (max-width: 1280px) {
  .masthead__cta .btn--line { display: none; }
  .burger { display: block; order: 3; }
  .masthead__row { gap: 10px; }
  .brand { margin-right: auto; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--head-bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; max-height: calc(100vh - 80px); overflow: auto; box-shadow: 0 16px 30px rgba(0,0,0,.14); }
  .nav-open .menu { display: block; }
  .menu ul { flex-direction: column; }
  .menu a { padding: 12px; font-size: 16px; }
}
@media (max-width: 960px) {
  .lead__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .frame { grid-template-columns: minmax(0, 1fr); }
  .rail__offer { position: static; }
  .tiles, .sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .offers .offer { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .strip__link { display: none; }
  .lang summary span { display: none; }
  .masthead__cta .btn { min-height: 38px; padding: 0 12px; font-size: 14px; }
  .contents ol { columns: 1; }
  .doc { font-size: 16.5px; }
  .offer__txt { max-width: 72%; padding: 18px; }
  .offer--hero { aspect-ratio: 4 / 3.3; min-height: 0; }
  .offer--wide { aspect-ratio: 16 / 9; }
  .offer--wide.offer--full { aspect-ratio: 4 / 3; }
  .more__grid, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .cta { flex-direction: column; align-items: stretch; text-align: center; }
  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--head-bg); color: var(--head-fg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.14); }
  .dock span { display: flex; flex-direction: column; line-height: 1.2; }
  .dock b { font-family: var(--f-head); }
  .dock small { font-size: 12px; opacity: .7; }
}
