/*
Theme Name: WatchMeWin Affiliate LV
Theme URI: https://watchmewinkazino-lv.com/
Author: WatchMeWin Kazino LV
Description: Minimāla WordPress tēma WatchMeWin kazino affiliate satura vietnei.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: watchmewin-affiliate
*/

:root {
      --ink: #050608;
      --ink-2: #0d0c12;
      --ink-3: #15121d;
      --paper: #f4f2ea;
      --paper-2: #e8e5dc;
      --lime: #caff19;
      --lime-dark: #9fcf00;
      --violet: #7a3cff;
      --violet-dark: #2c0f55;
      --white: #fbfaf6;
      --muted: #b9b7c4;
      --line: #2b2834;
      --danger: #ffb3a7;
      --danger-bg: #281317;
      --shell: min(1220px, calc(100% - 48px));
      --display: "Bricolage Grotesque", Arial, sans-serif;
      --body: "IBM Plex Sans", Arial, sans-serif;
      --ease: cubic-bezier(.16, 1, .3, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scrollbar-color: var(--lime) var(--ink); scrollbar-width: thin; overflow-x: clip; }
    body { margin: 0; min-width: 0; overflow-x: clip; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
    ::selection { background: var(--lime); color: var(--ink); }
    a { color: inherit; text-underline-offset: 4px; }
    img { display: block; max-width: 100%; }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    :focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
    h1 { max-width: 13ch; margin-bottom: 0; font-size: clamp(52px, 6.5vw, 84px); font-weight: 700; }
    h2 { margin-bottom: 24px; font-size: clamp(38px, 4.7vw, 66px); font-weight: 700; }
    h3 { font-size: 25px; }
    .shell { width: var(--shell); margin-inline: auto; }
    .skip-link { position: fixed; top: 14px; left: 14px; z-index: 200; padding: 10px 16px; background: var(--lime); color: var(--ink); font-weight: 800; transform: translateY(-160%); transition: transform .2s var(--ease); }
    .skip-link:focus { transform: translateY(0); }
    .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

    .notice-bar { background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; }
    .notice-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .notice-inner span:last-child { font-weight: 500; }

    .site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--line); background: rgba(5,6,8,.97); }
    .header-inner { position: relative; min-height: 88px; display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; gap: 34px; }
    .brand { display: inline-flex; width: 180px; text-decoration: none; }
    .brand img { width: 100%; height: auto; }
    .header-controls { display: flex; align-items: center; gap: 12px; }
    .menu-toggle { position: relative; z-index: 102; min-height: 50px; display: none; align-items: center; gap: 13px; padding: 0 18px; border: 1px solid #3b3642; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; cursor: pointer; }
    .menu-lines { display: grid; gap: 5px; }
    .menu-toggle i { display: block; width: 18px; height: 2px; background: var(--lime); transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .primary-nav { min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); }
    .primary-nav a { color: #c6c2cc; text-decoration: none; transition: color .2s ease; white-space: nowrap; }
    .primary-nav a:hover { color: var(--lime); }
    .primary-nav strong { font-size: 12px; font-weight: 700; }
    .primary-nav span { display: none; }

    .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
    .button:hover { background: var(--violet-dark); color: var(--white); }
    .button-dark { border-color: #35313d; background: transparent; color: var(--white); }
    .button-dark:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
    .button-paper { background: var(--ink); color: var(--white); }
    .button-paper:hover { background: var(--violet-dark); color: var(--white); }
    .button[aria-disabled="true"] { cursor: not-allowed; opacity: .66; }

    .hero { position: relative; overflow: hidden; padding: 104px 0 0; background: var(--paper); color: var(--ink); }
    .hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); align-items: end; gap: 100px; }
    .hero-top h1 strong { display: block; color: var(--violet-dark); font-weight: inherit; }
    .hero-copy { min-width: 0; padding-bottom: 6px; }
    .hero-lead { max-width: 54ch; margin-bottom: 32px; color: #514d58; font-size: 18px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero .button-dark { border-color: #837d88; color: var(--ink); }
    .hero .button-dark:hover { border-color: var(--violet-dark); background: var(--violet-dark); color: var(--white); }
    .microcopy { max-width: 54ch; margin: 20px 0 0; color: #77717c; font-size: 11px; }

    .ledger { position: relative; min-width: 0; margin-top: 88px; border-radius: 16px 16px 0 0; background: var(--violet-dark); color: var(--white); }
    .ledger-head { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; border-bottom: 1px solid rgba(255,255,255,.2); }
    .ledger-head strong { font-family: var(--display); font-size: 18px; font-weight: 600; }
    .ledger-head span { color: #cabbe1; font-size: 11px; text-align: right; }
    .ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
    .ledger-row { min-width: 0; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px 34px; clip-path: inset(0 100% 0 0); filter: blur(4px); animation: ledgerOpen .8s var(--ease) forwards; }
    .ledger-row + .ledger-row { border-left: 1px solid rgba(255,255,255,.2); }
    .ledger-row:nth-child(2) { animation-delay: .12s; }
    .ledger-row:nth-child(3) { animation-delay: .24s; }
    .deposit-index { color: var(--lime); font-family: var(--display); font-size: 14px; font-weight: 800; }
    .deposit-value { margin-top: auto; }
    .deposit-value strong { display: block; max-width: 11ch; font-family: var(--display); font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: .98; letter-spacing: -.025em; }
    .deposit-value span { color: #cabbe1; font-size: 11px; }
    .deposit-spins { color: var(--lime); font-weight: 800; white-space: nowrap; }
    .ledger-total { min-height: 112px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 22px 34px; background: var(--lime); color: var(--ink); }
    .ledger-total span { max-width: 24ch; font-size: 12px; }
    .ledger-total strong { font-family: var(--display); font-size: clamp(28px, 4vw, 50px); font-weight: 700; line-height: 1; text-align: right; }
    @keyframes ledgerOpen { to { clip-path: inset(0 0 0 0); filter: blur(0); } }

    .jurisdiction { position: relative; background: var(--danger-bg); color: #ffe7e2; }
    .jurisdiction-inner { min-height: 104px; display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 44px; }
    .jurisdiction strong { color: var(--danger); font-family: var(--display); font-size: 18px; line-height: 1.1; }
    .jurisdiction p { max-width: 90ch; margin: 0; font-size: 13px; }

    .visual-proof { padding: 90px 0 128px; background: var(--ink); }
    .proof-frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--violet-dark); }
    .proof-frame img { width: 100%; height: min(62vw, 710px); object-fit: cover; object-position: top center; opacity: .9; }
    .proof-caption { position: absolute; right: 0; bottom: 0; width: min(450px, 56%); padding: 30px 34px; background: var(--lime); color: var(--ink); }
    .proof-caption strong { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 23px; line-height: 1.05; }
    .proof-caption span { font-size: 12px; }

    .games-showcase { padding: 0 0 126px; background: var(--ink); }
    .games-showcase-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); align-items: end; gap: 70px; margin-bottom: 42px; }
    .games-showcase-head h2 { max-width: 10ch; margin: 0; }
    .games-showcase-head p { max-width: 48ch; margin: 0; color: var(--muted); }
    .game-categories { display: flex; gap: 10px; margin-bottom: 34px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
    .game-categories::-webkit-scrollbar { display: none; }
    .game-category { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid #37323e; border-radius: 999px; color: #d8d4df; font-size: 12px; font-weight: 700; text-decoration: none; scroll-snap-align: start; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
    .game-category:first-child { border-color: var(--lime); background: var(--lime); color: var(--ink); }
    .game-category:hover { border-color: var(--violet-dark); background: var(--violet-dark); color: var(--white); }
    .games-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(188px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--violet-dark) #1d1923; scrollbar-width: thin; }
    .game-card { min-width: 0; color: var(--white); text-decoration: none; scroll-snap-align: start; }
    .game-art { position: relative; overflow: hidden; aspect-ratio: 1; display: block; margin-bottom: 14px; border-radius: 14px; background: #18151e; }
    .game-art::after { content: "Atvērt spēli"; position: absolute; inset: auto 10px 10px; min-height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--violet-dark); color: var(--white); font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s var(--ease), background-color .2s ease; }
    .game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
    .game-card:hover .game-art img { transform: scale(1.035); }
    .game-card:hover .game-art::after { opacity: 1; transform: translateY(0); }
    .game-card strong { display: block; font-family: var(--display); font-size: 16px; line-height: 1.18; }
    .game-card span { display: block; margin-top: 4px; color: #8d8995; font-size: 11px; }
    .games-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; color: #85818d; font-size: 11px; }
    .games-note a { color: var(--lime); font-weight: 700; text-decoration: none; }
    .games-note a:hover { color: var(--white); }

    .section-nav { position: sticky; top: 84px; z-index: 60; border-block: 1px solid var(--line); background: rgba(13,12,18,.96); }
    .section-nav-inner { min-height: 64px; display: flex; align-items: center; gap: 32px; overflow-x: auto; scrollbar-width: none; }
    .section-nav-inner::-webkit-scrollbar { display: none; }
    .section-nav a { flex: 0 0 auto; color: #aaa6b3; font-size: 12px; font-weight: 700; text-decoration: none; }
    .section-nav a:hover { color: var(--lime); }

    .paper-section { padding: 140px 0; background: var(--paper); color: var(--ink); }
    .section-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 100px; margin-bottom: 78px; }
    .section-intro h2 { max-width: 12ch; margin: 0; }
    .section-intro p { max-width: 48ch; margin: 0; color: #55525d; }

    .deposit-explorer { border-top: 2px solid var(--ink); }
    .deposit-option { display: grid; grid-template-columns: 180px minmax(0, 1fr) 250px; align-items: center; gap: 32px; min-height: 144px; padding: 28px 0; border-bottom: 1px solid #bdb9ae; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
    .deposit-option:hover, .deposit-option.is-active { color: var(--violet-dark); }
    .deposit-option.is-active { background: #ece8dd; }
    .deposit-option button { display: flex; align-items: center; gap: 16px; padding: 0; border: 0; background: transparent; color: inherit; font-weight: 800; cursor: pointer; text-align: left; }
    .deposit-option button span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--display); font-size: 11px; }
    .option-main strong { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; }
    .option-main span { color: #66616d; font-size: 12px; }
    .option-side { text-align: right; }
    .option-side strong { display: block; font-size: 17px; }
    .option-side span { color: #68636e; font-size: 11px; }
    .offer-detail { display: none; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-block: 1px solid #aaa59a; }
    .offer-detail.is-visible { display: grid; }
    .offer-detail div { padding: 24px 24px 24px 0; }
    .offer-detail div + div { padding-left: 24px; border-left: 1px solid #aaa59a; }
    .offer-detail span { display: block; color: #69646e; font-size: 11px; }
    .offer-detail strong { font-size: 14px; }

    .calculator-section { padding: 140px 0; background: #0b0a0f; color: var(--white); }
    .calculator-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr); align-items: end; gap: 90px; margin-bottom: 70px; }
    .calculator-intro h2 { max-width: 12ch; margin: 0; }
    .calculator-intro p { max-width: 48ch; margin: 0; color: var(--muted); }
    .calculator { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); border-block: 1px solid #45404d; }
    .calc-control { display: flex; flex-direction: column; justify-content: center; padding: 54px 56px 54px 0; border-right: 1px solid #45404d; }
    .calc-control label { color: #9f9aa8; font-size: 12px; font-weight: 700; }
    .deposit-readout { display: flex; align-items: flex-start; margin: 18px 0 30px; font-family: var(--display); line-height: .82; }
    .deposit-readout span { margin: 8px 8px 0 0; color: var(--lime); font-size: 24px; }
    .deposit-readout output { font-size: clamp(76px, 9vw, 126px); font-weight: 700; letter-spacing: -.055em; }
    .deposit-slider { --range-progress: 1%; width: 100%; height: 4px; margin: 0; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--lime) 0 var(--range-progress), #423d49 var(--range-progress) 100%); appearance: none; cursor: pointer; }
    .deposit-slider::-webkit-slider-thumb { width: 24px; height: 24px; border: 5px solid var(--ink); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime); appearance: none; }
    .deposit-slider::-moz-range-thumb { width: 14px; height: 14px; border: 5px solid var(--ink); border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
    .slider-scale { display: flex; justify-content: space-between; margin-top: 14px; color: #77727f; font-size: 10px; }
    .calc-context { margin: 34px 0 0; color: #8e8996; font-size: 11px; }
    .calc-output { min-width: 0; padding: 54px 0 54px 64px; }
    .calc-kicker { display: block; margin-bottom: 18px; color: var(--lime); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
    .scenario-line { max-width: 14ch; margin: 0 0 44px; font-family: var(--display); font-size: clamp(40px, 5vw, 68px); font-weight: 650; line-height: .98; letter-spacing: -.04em; }
    .scenario-line span:last-child { color: var(--lime); }
    .calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
    .result-row { min-width: 0; }
    .result-row span { display: block; max-width: 16ch; margin-bottom: 8px; color: #8f8a97; font-size: 11px; line-height: 1.4; }
    .result-row strong { display: block; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); font-variant-numeric: tabular-nums; line-height: 1; }
    .calc-note { max-width: 78ch; margin: 42px 0 0; padding-top: 18px; border-top: 1px solid #332f39; color: #77727f; font-size: 10px; }

    .editorial-section { padding: 140px 0; background: var(--ink); }
    .editorial-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 120px; }
    .editorial-heading { position: sticky; top: 180px; align-self: start; }
    .editorial-heading h2 { max-width: 8.5ch; }
    .editorial-heading p { max-width: 38ch; color: var(--muted); }
    .promotion-index { border-top: 1px solid #45414c; }
    .promo-row { display: grid; grid-template-columns: minmax(190px, .65fr) 1fr; gap: 38px; padding: 30px 0; border-bottom: 1px solid #45414c; }
    .promo-row strong { font-family: var(--display); font-size: 19px; }
    .promo-row p { margin: 0; color: var(--muted); font-size: 13px; }

    .rules-section { padding: 140px 0; background: var(--paper); color: var(--ink); }
    .rules-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 110px; }
    .rules-copy h2 { max-width: 9ch; }
    .rules-copy p { max-width: 46ch; color: #5b5662; }
    .rules-table { border-top: 2px solid var(--ink); }
    .rule-row { min-height: 86px; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 30px; border-bottom: 1px solid #b8b3a8; }
    .rule-row span { color: #625d68; font-size: 12px; }
    .rule-row strong { font-size: 14px; }
    .rules-note { margin-top: 28px; color: #69646f; font-size: 11px; }

    .guide-section { padding: 140px 0; background: var(--ink-2); }
    .guide-heading { max-width: 880px; margin-bottom: 70px; }
    .guide-heading p { max-width: 68ch; color: var(--muted); }
    .guide-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
    .reading-copy { max-width: 70ch; }
    .reading-copy h3 { margin: 48px 0 18px; }
    .reading-copy h3:first-child { margin-top: 0; }
    .reading-copy p, .reading-copy li { color: var(--muted); font-size: 14px; }
    .reading-copy ul { margin: 0; padding-left: 20px; }
    .reading-copy li + li { margin-top: 12px; }
    .reading-copy a { color: var(--lime); }

    .faq-section { padding: 140px 0; background: var(--ink); }
    .faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 110px; }
    .faq-layout > h2 { max-width: 7ch; position: sticky; top: 180px; align-self: start; }
    .faq-list { border-top: 1px solid #45414c; }
    details { border-bottom: 1px solid #45414c; }
    summary { position: relative; padding: 28px 54px 28px 0; color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.3; list-style: none; cursor: pointer; }
    summary::-webkit-details-marker { display: none; }
    summary::before, summary::after { content: ""; position: absolute; right: 3px; top: 50%; width: 18px; height: 2px; background: var(--lime); transition: transform .2s ease; }
    summary::after { transform: rotate(90deg); }
    details[open] summary::after { transform: rotate(0); }
    details p { max-width: 68ch; margin: 0; padding: 0 54px 28px 0; color: var(--muted); font-size: 13px; }

    .responsible-section { padding: 140px 0; background: var(--lime); color: var(--ink); }
    .responsible-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; }
    .responsible-grid h2 { max-width: 11ch; }
    .responsible-grid p { max-width: 64ch; }
    .responsible-list { border-top: 2px solid var(--ink); }
    .responsible-list div { padding: 24px 0; border-bottom: 1px solid rgba(5,6,8,.35); }
    .responsible-list strong { display: block; margin-bottom: 5px; font-family: var(--display); }
    .responsible-list span { font-size: 12px; }

    .final-cta { padding: 130px 0; text-align: center; background: var(--violet-dark); }
    .final-cta h2 { max-width: 16ch; margin-inline: auto; }
    .final-cta p { max-width: 58ch; margin: 0 auto 30px; color: #d4c7e6; }
    .cta-status { min-height: 22px; margin: 14px 0 0; color: #d4c7e6; font-size: 11px; }

    .site-footer { padding: 74px 0 30px; background: #020203; }
    .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-bottom: 60px; }
    .site-footer .footer-brand img { display: block !important; width: 190px !important; height: 35px !important; max-width: 190px !important; max-height: 35px !important; aspect-ratio: 2048 / 378 !important; object-fit: contain !important; object-position: left center; }
    .footer-brand p { max-width: 52ch; margin: 24px 0 0; color: #85818d; font-size: 12px; }
    .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .footer-links strong { display: block; margin-bottom: 14px; font-family: var(--display); font-size: 14px; }
    .footer-links a { display: block; margin-top: 8px; color: #a7a3ae; font-size: 12px; text-decoration: none; }
    .footer-links a:hover { color: var(--lime); }
    .footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: #77737e; font-size: 10px; }

    .floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(340px, calc(100% - 32px)); padding: 24px; border-top: 3px solid var(--lime); border-radius: 4px; background: var(--violet-dark); color: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.34); opacity: 0; visibility: hidden; transform: translate(28px, 12px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
    .floating-cta.is-visible { opacity: 1; visibility: visible; transform: translate(0, 0); }
    .floating-label { display: block; margin-bottom: 8px; color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
    .floating-cta strong { display: block; font-family: var(--display); font-size: 21px; line-height: 1.08; }
    .floating-cta span:not(.floating-label) { display: block; margin-top: 8px; color: #cbbbe0; font-size: 10px; line-height: 1.5; }
    .floating-cta .button { width: 100%; margin-top: 18px; background: var(--lime); }
    .floating-cta .button:hover { background: var(--white); color: var(--ink); }

    @media (max-width: 1000px) {
      body.menu-open { overflow: hidden; }
      .header-inner { grid-template-columns: 1fr auto; gap: 20px; }
      .header-controls > .button { display: none; }
      .menu-toggle { display: inline-flex; }
      .primary-nav { position: fixed; inset: 0 0 0 auto; z-index: 100; width: min(420px, 90vw); display: flex; align-items: stretch; justify-content: flex-start; flex-direction: column; gap: 0; padding: 118px 32px 40px; background: var(--paper); box-shadow: -28px 0 70px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateX(100%); transition: opacity .28s ease, transform .38s var(--ease), visibility .28s; }
      .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
      .primary-nav a { min-height: 88px; display: grid; align-content: center; gap: 5px; border-bottom: 1px solid #c9c4b9; color: var(--ink); white-space: normal; }
      .primary-nav a:first-child { border-top: 1px solid #c9c4b9; }
      .primary-nav a:hover { color: var(--violet-dark); }
      .primary-nav strong { font-family: var(--display); font-size: 26px; line-height: 1; }
      .primary-nav span { display: block; color: #6a6570; font-size: 11px; }
      .hero-top { gap: 60px; }
      .editorial-layout, .rules-grid { gap: 70px; }
    }

    @media (max-width: 820px) {
      :root { --shell: calc(100% - 32px); }
      .notice-inner span:last-child { display: none; }
      .header-inner { min-height: 70px; grid-template-columns: 1fr auto; }
      .brand { width: 165px; }
      .menu-toggle { min-height: 44px; padding-inline: 14px; }
      .hero { padding-top: 72px; }
      .hero-top { grid-template-columns: 1fr; align-items: start; gap: 38px; }
      .hero-copy { padding-bottom: 0; }
      h1 { max-width: 13ch; font-size: clamp(48px, 10vw, 70px); }
      .ledger { margin-top: 64px; }
      .jurisdiction-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
      .section-nav { top: 70px; }
      .section-intro, .editorial-layout, .rules-grid, .guide-columns, .faq-layout, .responsible-grid { grid-template-columns: 1fr; gap: 52px; }
      .section-intro { align-items: start; }
      .section-intro h2 { max-width: 14ch; }
      .editorial-heading, .faq-layout > h2 { position: static; }
      .deposit-option { grid-template-columns: 150px 1fr 180px; }
      .paper-section, .calculator-section, .editorial-section, .rules-section, .guide-section, .faq-section, .responsible-section { padding-block: 100px; }
      .proof-caption { width: min(500px, 80%); }
      .games-showcase-head { grid-template-columns: 1fr; gap: 24px; }
      .calculator-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
      .calculator { grid-template-columns: 1fr; }
      .calc-control { padding: 44px 0; border-right: 0; border-bottom: 1px solid #45404d; }
      .calc-output { padding: 44px 0; }
    }

    @media (max-width: 560px) {
      body { font-size: 15px; }
      h1 { max-width: 100%; font-size: clamp(40px, 11.5vw, 54px); line-height: 1.04; }
      h2 { font-size: clamp(34px, 10vw, 46px); }
      .menu-toggle > span:first-child { display: none; }
      .menu-toggle { width: 44px; justify-content: center; padding: 0; }
      .primary-nav { width: min(360px, 88vw); padding: 104px 24px 30px; overflow-y: auto; }
      .primary-nav a { min-height: 76px; }
      .primary-nav strong { font-size: 23px; }
      .hero-lead { font-size: 16px; }
      .hero-actions { display: grid; }
      .button { width: 100%; }
      .ledger { margin-inline: -16px; border-radius: 0; }
      .ledger-head { min-height: 74px; padding-inline: 22px; }
      .ledger-head span { max-width: 16ch; }
      .ledger-grid { grid-template-columns: 1fr; }
      .ledger-row { min-height: 142px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 24px 22px; }
      .ledger-row + .ledger-row { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
      .deposit-value { margin: 0; }
      .deposit-spins { grid-column: 2; justify-self: start; margin: 0; font-size: 12px; }
      .ledger-total { grid-template-columns: 1fr; }
      .ledger-total strong { text-align: left; }
      .visual-proof { padding-block: 60px 90px; }
      .proof-frame { margin-inline: -16px; border-radius: 0; }
      .proof-frame img { height: 420px; }
      .proof-caption { position: static; width: 100%; }
      .games-showcase { padding-bottom: 82px; }
      .games-showcase-head { margin-bottom: 32px; }
      .game-categories { margin-right: -16px; padding-right: 16px; }
      .games-rail { grid-auto-columns: minmax(174px, 72vw); margin-right: -16px; padding-right: 16px; }
      .game-art::after { opacity: 1; transform: none; }
      .games-note { align-items: flex-start; flex-direction: column; gap: 8px; }
      .section-nav-inner { gap: 24px; }
      .paper-section, .calculator-section, .editorial-section, .rules-section, .guide-section, .faq-section, .responsible-section { padding-block: 78px; }
      .section-intro { margin-bottom: 52px; }
      .deposit-option { grid-template-columns: 1fr; gap: 15px; padding: 26px 0; }
      .deposit-option.is-active { margin-inline: -16px; padding-inline: 16px; }
      .option-side { text-align: left; }
      .offer-detail.is-visible { grid-template-columns: 1fr; }
      .offer-detail div, .offer-detail div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid #aaa59a; }
      .deposit-readout output { font-size: clamp(72px, 24vw, 108px); }
      .calc-results { grid-template-columns: 1fr; gap: 26px; }
      .result-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
      .result-row span { margin: 0; }
      .scenario-line { margin-bottom: 38px; }
      .promo-row { grid-template-columns: 1fr; gap: 8px; }
      .rule-row { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
      .footer-main { grid-template-columns: 1fr; gap: 50px; }
      .footer-bottom { flex-direction: column; gap: 7px; }
      .floating-cta { right: 0; bottom: 0; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 0; transform: translateY(100%); }
      .floating-cta.is-visible { transform: translateY(0); }
      .floating-label, .floating-cta span:not(.floating-label) { display: none; }
      .floating-cta strong { font-family: var(--body); font-size: 13px; line-height: 1.25; }
      .floating-cta .button { width: auto; min-height: 44px; margin: 0; padding-inline: 18px; }
    }

@media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }

/* Inner page templates use the same design system as the front page. */
.subpage-hero { padding-bottom: 110px; }
.subpage-hero .hero-top { align-items: start; }
.page-kicker { display: block; margin-bottom: 18px; color: var(--violet-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.dark-kicker { color: var(--lime); }
.content-prose { max-width: 820px; }
.content-prose h2 { max-width: 13ch; margin-top: 70px; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose h3 { margin: 46px 0 14px; }
.content-prose p, .content-prose li { color: #56515d; }
.content-prose ul { padding-left: 22px; }
.content-prose li + li { margin-top: 10px; }
.page-note { margin-top: 34px; padding: 22px 24px; border-left: 4px solid var(--violet-dark); background: #e9e5da; color: #4e4954; font-size: 13px; }
.dark-note { border-left-color: var(--lime); background: #131019; color: var(--muted); }
.article-index { border-top: 1px solid currentColor; }
.article-row { display: grid; grid-template-columns: minmax(190px, .55fr) 1.45fr; gap: 56px; padding: 32px 0; border-bottom: 1px solid #b8b3a8; }
.article-row strong { font-family: var(--display); font-size: 19px; line-height: 1.15; }
.article-row div > :last-child { margin-bottom: 0; }
.article-row p { margin-bottom: 12px; color: #5b5662; }
.article-row ul { margin: 0; padding-left: 18px; color: #5b5662; }
.editorial-section .article-index { border-color: #45414c; }
.editorial-section .article-row { border-color: #45414c; }
.editorial-section .article-row p, .editorial-section .article-row li { color: var(--muted); }
.page-hero-fact { padding: 24px 0 0; border-top: 1px solid #9f998e; }
.page-hero-fact strong { display: block; font-family: var(--display); font-size: 25px; line-height: 1.1; }
.page-hero-fact span { display: block; margin-top: 8px; color: #6b6570; font-size: 12px; }

@media (max-width: 820px) {
  .subpage-hero { padding-bottom: 82px; }
  .article-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .subpage-hero { padding-bottom: 64px; }
  .content-prose h2 { margin-top: 52px; }
  .article-row { padding-block: 25px; }
}
