:root {
  --bg: #070a0f;
  --bg-raised: #0b1018;
  --panel: #101722;
  --panel-strong: #151e2b;
  --panel-soft: #0d131d;
  --text: #f5f7fb;
  --muted: #9aa7b8;
  --muted-strong: #c2cad6;
  --line: #253143;
  --line-soft: #192333;
  --yellow: #ffd64a;
  --cyan: #58ddd4;
  --danger: #ff7a7a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, .18);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% -10%, rgba(52, 159, 174, .11), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.04; letter-spacing: -.035em; }
h1, h2 { font-weight: 850; }
h3 { font-weight: 780; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { color: #081013; background: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7vw, 96px); }
.section-compact { padding-block: clamp(44px, 5vw, 68px); }
.surface-band, .section-dark { border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, #0b1018, #090e15); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}
.section-title-row h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.section-title-row > p, .section-lead, .lead-copy { margin-bottom: 3px; color: var(--muted-strong); }
.text-link, .inline-external {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--yellow);
  font-weight: 800;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid rgba(37, 49, 67, .82);
  background: rgba(7, 10, 15, .92);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 220px; height: 38px; object-fit: contain; object-position: left center; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; font-weight: 750; }
.desktop-nav > a { transition: color .18s ease; }
.desktop-nav > a:hover { color: var(--text); }
.header-language { color: var(--muted-strong); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #11150f; background: var(--game-accent, var(--yellow)); }
.button-primary:hover { filter: brightness(1.08); }
.button-ghost { border-color: var(--line); background: rgba(16, 23, 34, .72); color: var(--text); }
.button-ghost:hover { border-color: #506078; background: var(--panel-strong); }
.button-real-money { border-color: color-mix(in srgb, var(--game-accent, var(--yellow)), var(--line) 48%); color: var(--text); background: rgba(13,20,30,.86); }
.button-real-money:hover { border-color: var(--game-accent, var(--yellow)); background: #172131; }
.button-real-money > svg:first-child { color: var(--game-accent, var(--yellow)); }
.button-large { min-height: 50px; padding-inline: 21px; font-size: 14px; }
.header-demo { border-color: var(--line); background: var(--panel); }
.header-bonus { color: #11150f; background: var(--yellow); }
.header-action-icon { width: 22px; height: 22px; display: grid; place-items: center; }
.header-bonus-icon img { width: 26px; height: 26px; object-fit: contain; }
.header-action-arrow { opacity: .65; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 5px; padding: 9px 5px; list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown[open] summary { color: var(--yellow); }
.chevron { transition: transform .16s ease; }
.nav-dropdown[open] .chevron { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: 43px;
  right: 0;
  width: 205px;
  max-height: 430px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d131df5;
  box-shadow: var(--shadow);
}
.language-panel { display: grid; gap: 3px; }
.language-panel a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 7px; color: var(--muted); font-size: 13px; }
.language-panel a:hover { color: var(--text); background: rgba(255,255,255,.055); }
.language-panel small { color: var(--yellow); font-weight: 850; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 19px; height: 2px; background: var(--text); }
.mobile-menu nav { position: absolute; top: 51px; right: 0; width: min(290px, calc(100vw - 28px)); max-height: calc(100vh - 80px); overflow: auto; padding: 10px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: #0d131df8; box-shadow: var(--shadow); }
.mobile-menu nav > a { padding: 10px 11px; border-radius: 7px; color: var(--muted-strong); font-weight: 750; }
.mobile-menu nav > a:hover { background: rgba(255,255,255,.055); }
.mobile-menu nav b { padding: 12px 11px 3px; color: var(--yellow); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.mobile-languages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 5px; }
.mobile-languages a { padding: 7px 3px; border: 1px solid var(--line-soft); border-radius: 6px; text-align: center; font-size: 11px; }

/* Collection home */
.collection-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #070a0f;
}
.collection-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url(/assets/brand/le-series-hero-user-soft.webp) center 48% / cover no-repeat;
  transform: scale(1.015);
}
.collection-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,8,13,.96) 0%, rgba(5,8,13,.82) 37%, rgba(5,8,13,.37) 68%, rgba(5,8,13,.52) 100%),
    linear-gradient(180deg, rgba(5,8,13,.22) 0%, rgba(5,8,13,.08) 55%, #070a0f 100%);
}
.collection-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(36px, 6vw, 76px); align-items: center; padding-block: clamp(62px, 7vw, 90px) 54px; }
.collection-hero-copy h1 { max-width: 650px; margin: 18px 0 18px; font-size: clamp(3.7rem, 6.3vw, 6.2rem); }
.collection-hero-copy h1 { text-wrap: balance; text-shadow: 0 3px 30px rgba(0,0,0,.62); }
.collection-hero-copy > p { max-width: 580px; margin-bottom: 26px; color: #d9e0e9; font-size: 17px; text-shadow: 0 2px 16px rgba(0,0,0,.74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-quick-nav { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-quick-nav-head { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-quick-nav-head a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); }
.hero-game-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-game-pills a { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--pill-accent); border-radius: 7px; background: rgba(9,14,21,.76); box-shadow: 0 5px 18px rgba(0,0,0,.18); backdrop-filter: blur(10px); font-size: 12px; font-weight: 750; }
.hero-game-pills a:hover { border-color: var(--pill-accent); }
.trust-line { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line svg { color: var(--cyan); }
.collection-showcase { min-width: 0; display: grid; grid-template-columns: 1.75fr .82fr; gap: 10px; height: 430px; }
.showcase-feature-card, .showcase-mini-card { position: relative; overflow: hidden; display: block; border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius); background: var(--panel); box-shadow: 0 18px 48px rgba(0,0,0,.34); }
.showcase-feature-card::after, .showcase-mini-card::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; transition: border-color .18s ease; }
.showcase-feature-card:hover::after, .showcase-mini-card:hover::after { border-color: var(--game-accent); }
.showcase-feature-card > img, .showcase-mini-card > img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px) saturate(.88) brightness(.83); transform: scale(1.025); transition: filter .35s ease, transform .35s ease; }
.showcase-feature-card:hover > img, .showcase-mini-card:hover > img { filter: blur(.7px) saturate(.95) brightness(.88); transform: scale(1.045); }
.showcase-side-grid { min-width: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.showcase-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,11,.08) 20%, rgba(4,7,11,.35) 55%, rgba(4,7,11,.96) 100%); }
.showcase-card-content { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 4px; padding: 18px; }
.showcase-card-content small { color: var(--game-accent); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.showcase-card-content strong { font-size: clamp(1.3rem, 2.1vw, 2.25rem); line-height: 1; }
.showcase-card-content em { overflow: hidden; color: var(--muted-strong); font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.showcase-mini-card .showcase-card-content { padding: 12px; }
.showcase-mini-card .showcase-card-content strong { font-size: 1.05rem; }
.showcase-mini-card .showcase-card-content em { display: none; }
.collection-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.13); border-bottom: 0; background: rgba(9,14,22,.86); box-shadow: 0 -12px 36px rgba(0,0,0,.22); backdrop-filter: blur(14px); }
.collection-stats > div { min-width: 0; padding: 19px 22px; border-right: 1px solid var(--line); }
.collection-stats > div:last-child { border-right: 0; }
.collection-stats strong { display: block; color: var(--yellow); font-size: 24px; line-height: 1.1; }
.collection-stats span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

/* Offer banner */
.welcome-bonus { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 0 0 26px; padding: 16px 18px; border: 1px solid #5f5428; border-radius: var(--radius); background: linear-gradient(100deg, #181a16, #121a24 65%); box-shadow: var(--shadow-soft); }
.bonus-emblem { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 11px; background: var(--yellow); }
.bonus-emblem img { width: 42px; height: 42px; object-fit: contain; }
.bonus-copy { display: grid; gap: 1px; min-width: 0; }
.bonus-copy span { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.bonus-copy strong { overflow: hidden; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.12; text-overflow: ellipsis; white-space: nowrap; }
.bonus-button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border-radius: 8px; color: #11150f; background: var(--yellow); font-size: 13px; font-weight: 900; }

/* Catalog */
.catalog-browser { min-width: 0; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.search-box { min-width: 250px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-soft); color: var(--muted); }
.search-box input { width: 100%; height: 44px; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-box input::placeholder { color: #748195; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tabs button { min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); color: var(--muted-strong); font-size: 12px; font-weight: 800; cursor: pointer; }
.filter-tabs button:hover, .filter-tabs button.is-active { border-color: var(--cyan); color: var(--text); background: #112329; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.game-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #0f1722, #0b111a); box-shadow: 0 12px 30px rgba(0,0,0,.14); transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.game-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--game-accent), var(--line) 30%); box-shadow: 0 18px 42px rgba(0,0,0,.23); }
.game-card-art { position: relative; display: block; height: 190px; overflow: hidden; background: var(--game-surface); }
.game-card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,.02) 30%, rgba(5,7,10,.72) 100%); }
.game-card-art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.game-card:hover .game-card-art > img { transform: scale(1.025); }
.game-card-num, .game-card-arrow { position: absolute; z-index: 1; top: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 7px; background: rgba(7,10,15,.78); backdrop-filter: blur(8px); }
.game-card-num { left: 12px; min-width: 32px; height: 28px; color: var(--game-accent); font-size: 11px; font-weight: 900; }
.game-card-arrow { right: 12px; width: 32px; height: 32px; }
.game-card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; padding: 17px; }
.game-card-heading { min-width: 0; display: grid; grid-template-columns: 1fr 82px; gap: 12px; align-items: center; }
.game-card-kicker { color: var(--game-accent); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.game-card-heading h3 { margin: 5px 0 0; font-size: 1.55rem; }
.game-card-heading img { width: 82px; height: 42px; object-fit: contain; object-position: right center; }
.game-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.game-card-tags span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted-strong); font-size: 9px; font-weight: 750; }
.game-card-body > p { margin: 12px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 14px; padding-block: 11px; border-block: 1px solid var(--line-soft); }
.card-metrics div { min-width: 0; padding-inline: 8px; border-right: 1px solid var(--line-soft); }
.card-metrics div:first-child { padding-left: 0; }
.card-metrics div:last-child { border: 0; }
.card-metrics dt { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.card-metrics dd { overflow: hidden; margin: 2px 0 0; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.game-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.card-link { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; color: #10140f; background: var(--game-accent); font-size: 11px; font-weight: 850; }
.card-link-secondary { border: 1px solid var(--line); color: var(--text); background: var(--panel-strong); }
.empty-state { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Tables */
.table-shell { min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); box-shadow: 0 18px 50px rgba(0,0,0,.14); scrollbar-width: thin; scrollbar-color: #536078 var(--panel-soft); scrollbar-gutter: stable; }
.table-shell table { width: 100%; min-width: 760px; border-collapse: collapse; }
.table-shell caption { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; font-size: 14px; font-weight: 850; }
.table-shell th { padding: 14px 16px; border-bottom: 1px solid var(--line); background: #141e2c; color: #9fb0c6; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.table-shell td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); color: var(--muted-strong); font-size: 13px; vertical-align: middle; }
.table-shell tbody tr:last-child td { border-bottom: 0; }
.table-shell tbody tr:hover td { background: rgba(255,255,255,.025); color: var(--text); }
.table-shell tbody .comparison-current-row td { background: color-mix(in srgb, var(--game-accent, var(--yellow)) 6%, var(--panel-soft)); }
.table-shell tbody .comparison-current-row td:first-child { box-shadow: inset 3px 0 0 var(--game-accent, var(--yellow)); }
.comparison-game-link { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.comparison-game-link img { width: 62px; height: 34px; object-fit: contain; object-position: left center; }
.comparison-game-link span { display: grid; }
.comparison-game-link strong { color: var(--text); }
.comparison-game-link em { color: var(--muted); font-size: 10px; font-style: normal; }
.comparison-table-wrap { position: relative; }
.section-compare { position: relative; isolation: isolate; box-shadow: none; clip-path: none; }
.section-compare::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  border-block: 1px solid var(--line-soft);
  background: #0a0f17;
  transform: translateX(-50%);
}
.comparison-table-wrap:not(.is-expanded) .comparison-extra-row { display: none; }
.comparison-table-wrap:not(.is-expanded)::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 1px;
  right: 1px;
  bottom: 55px;
  height: 42px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, transparent, rgba(7,10,15,.82));
  pointer-events: none;
}
.comparison-toggle {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #101722;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.comparison-toggle:hover { border-color: #536078; background: #151e2b; transform: translateY(-1px); }
.comparison-toggle svg { color: var(--yellow); transition: transform .2s ease; }
.comparison-table-wrap.is-expanded .comparison-toggle svg { transform: rotate(180deg); }
.payout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }
.payout-table-stack { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .75fr); gap: 14px; }
.payout-row-special td { background: rgba(88,221,212,.028); }
.payout-symbol-cell { display: flex; align-items: center; gap: 10px; color: var(--text); }
.payout-symbol-cell img { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #080d14; }
.payout-note { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.payout-note p { margin: 13px 0 0; color: var(--muted-strong); font-size: 13px; }
.payout-note .small-note { padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }

/* Game pages */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.breadcrumbs span { display: inline-flex; gap: 7px; }
.breadcrumbs strong { color: var(--muted-strong); }
.game-hero, .intent-hero, .articles-hero, .article-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.game-hero::before, .intent-hero::before, .articles-hero::before, .article-hero::before { content: ""; position: absolute; inset: -10px; background: linear-gradient(90deg, rgba(7,10,15,.97) 0%, rgba(7,10,15,.84) 45%, rgba(7,10,15,.52) 100%), linear-gradient(180deg, rgba(7,10,15,.08), rgba(7,10,15,.72)), var(--hero-bg) center / cover no-repeat; opacity: .94; }
.game-hero::before { filter: blur(7px) saturate(.88); transform: scale(1.025); }
.game-hero .shell, .intent-hero .shell, .articles-hero-grid, .article-hero .shell { position: relative; z-index: 1; }
.game-hero .shell { padding-block: 30px 62px; }
.game-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.game-hero-copy h1 { margin: 16px 0 16px; font-size: clamp(3.6rem, 7vw, 6.8rem); }
.game-tagline { max-width: 590px; margin-bottom: 14px; color: var(--muted-strong); font-size: 17px; }
.game-feature-line { max-width: 600px; color: var(--muted); font-size: 14px; }
.game-feature-line strong { color: var(--game-accent); }
.game-hero-art { position: relative; height: 440px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--game-accent), var(--line) 56%); border-radius: 18px; background: var(--game-surface); box-shadow: 0 24px 65px rgba(0,0,0,.38); }
.game-hero-art > img { width: 100%; height: 100%; object-fit: cover; }
.game-hero-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(5,7,10,.02) 42%, rgba(5,7,10,.9) 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.game-hero-badge { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(7,10,15,.84); backdrop-filter: blur(10px); }
.game-hero-logo { width: 150px; height: 50px; object-fit: contain; object-position: left center; }
.game-hero-badge span { color: var(--muted-strong); font-size: 12px; font-weight: 750; text-align: right; }
.game-intro { padding-top: 38px; }
.game-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.game-intro-grid h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.3rem); }
.feature-summary { margin-top: 22px; padding: 20px; border-left: 3px solid var(--game-accent); background: var(--panel-soft); }
.feature-summary h2 { margin: 8px 0 8px; font-size: 1.7rem; }
.feature-summary p { margin: 0; color: var(--muted); font-size: 14px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.facts-grid div { min-width: 0; padding: 19px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.facts-grid div:nth-child(3n) { border-right: 0; }
.facts-grid div:nth-last-child(-n+3) { border-bottom: 0; }
.facts-grid dt { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.facts-grid dd { margin: 5px 0 0; overflow: hidden; color: var(--text); font-size: 16px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }

/* Media, mechanics and lightbox */
.mechanic-showcase { display: grid; grid-template-columns: 1.45fr .75fr; gap: 14px; }
.mechanic-showcase-main, .mechanic-showcase-side figure, .payout-visual figure, .screenshot-rail figure, .article-feature-image { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.mechanic-showcase-main { min-height: 430px; }
.mechanic-showcase-side { display: grid; grid-template-rows: 1fr auto; gap: 14px; }
.mechanic-showcase-side figure { min-height: 285px; }
.media-lightbox-trigger { position: relative; width: 100%; height: 100%; min-height: inherit; display: block; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.media-lightbox-trigger > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.media-lightbox-trigger::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,.02) 55%, rgba(5,7,10,.7)); }
.media-lightbox-trigger:hover > img { transform: scale(1.018); filter: brightness(.9); }
.media-lightbox-hint { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(7,10,15,.82); box-shadow: 0 5px 16px rgba(0,0,0,.2); }
.mechanic-showcase figcaption, .payout-visual figcaption, .screenshot-rail figcaption, .article-feature-image figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: var(--text); font-size: 12px; font-weight: 800; pointer-events: none; }
[data-slot="dialog-overlay"] { background: rgba(3,5,8,.86) !important; backdrop-filter: blur(8px); }
.vanilla-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(3,5,8,.9); backdrop-filter: blur(8px); }
.vanilla-lightbox[hidden] { display: none; }
.vanilla-lightbox-dialog { position: relative; width: min(1280px, 100%); height: min(840px, calc(100vh - 36px)); padding: 52px 14px 14px; border: 1px solid #3a4658; border-radius: 16px; background: #080c12; box-shadow: 0 28px 90px rgba(0,0,0,.62); }
.vanilla-lightbox-title { position: absolute; top: 16px; left: 18px; right: 64px; overflow: hidden; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.vanilla-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border: 1px solid #46536a; border-radius: 8px; background: #101722; color: #fff; font-size: 22px; cursor: pointer; }
.vanilla-lightbox-stage { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #030507; }
.vanilla-lightbox-stage img { width: 100%; height: 100%; object-fit: contain; }
body.lightbox-open { overflow: hidden; }
.media-lightbox-dialog { width: min(1280px, calc(100vw - 36px)) !important; max-width: none !important; max-height: calc(100vh - 36px); padding: 50px 14px 14px !important; overflow: hidden; border: 1px solid #3a4658 !important; border-radius: 16px !important; background: #080c12 !important; box-shadow: 0 28px 90px rgba(0,0,0,.62) !important; }
.media-lightbox-dialog [data-slot="dialog-title"] { position: absolute; top: 17px; left: 18px; max-width: calc(100% - 80px); color: var(--text); font-size: 13px; }
.media-lightbox-dialog [data-slot="dialog-close"] { z-index: 3; color: var(--text); }
.media-lightbox-stage { height: calc(100vh - 112px); display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #030507; }
.media-lightbox-stage img { width: 100%; height: 100%; object-fit: contain; }
.symbol-tape, .symbol-board { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.symbol-tape > span, .symbol-board > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.symbol-tape > div, .symbol-board > div { display: flex; flex-wrap: wrap; gap: 8px; }
.symbol-tape img, .symbol-board img { width: 58px; height: 58px; object-fit: contain; border: 1px solid var(--line); border-radius: 9px; background: #070b11; }
.payout-visual { min-width: 0; display: grid; grid-template-rows: 240px auto; gap: 12px; }
.payout-visual figure { height: 240px; }
.payout-visual .symbol-board img { width: 45px; height: 45px; }
.screenshot-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.screenshot-rail figure { height: 210px; }
.article-feature-image { height: 430px; margin: 28px 0; }

/* Demo and bonus mechanics */
.demo-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #030609; box-shadow: var(--shadow); }
.demo-bar { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.demo-status { display: flex; align-items: center; gap: 7px; color: var(--muted-strong); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.demo-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(88,221,212,.1); }
.demo-bar-actions { display: flex; gap: 7px; }
.demo-bar-actions a, .demo-bar-actions button { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-soft); color: var(--muted-strong); font-size: 11px; font-weight: 750; cursor: pointer; }
.demo-stage { position: relative; aspect-ratio: 16 / 8.7; min-height: 420px; }
.demo-stage iframe { width: 100%; height: 100%; border: 0; }
.demo-preview { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: #030609; }
.demo-preview-art { width: 100%; height: 100%; object-fit: cover; }
.demo-preview-shade { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(4,7,11,.48) 0%, rgba(4,7,11,.6) 42%, rgba(4,7,11,.78) 100%), linear-gradient(180deg, rgba(4,7,11,.12), rgba(4,7,11,.72)); }
.demo-preview .demo-preview-content { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 760px); place-content: center; place-items: center; gap: 15px; width: 100%; height: 100%; padding: clamp(28px, 5vw, 64px); text-align: center; }
.demo-preview-eyebrow { width: 100%; color: var(--game-accent); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.demo-preview-panel { width: 100%; margin-inline: auto; padding: 17px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(7,11,17,.8); box-shadow: 0 20px 55px rgba(0,0,0,.34); backdrop-filter: blur(15px); }
.demo-preview-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.demo-start-button, .demo-real-button { min-height: 48px; padding-inline: 18px; }
.demo-real-button { border-color: rgba(255,255,255,.2); color: var(--text); background: #172131; }
.demo-real-button:hover { border-color: var(--game-accent); background: #1c293b; }
.demo-real-button > svg:first-child { color: var(--game-accent); }
.demo-preview-panel small { display: block; max-width: 580px; margin: 12px auto 0; color: var(--muted-strong); font-size: 12px; }
.demo-loading { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center; background: #060a10; color: var(--muted-strong); font-size: 13px; font-weight: 750; }
.demo-loading::before { content: ""; width: 30px; height: 30px; margin-right: 11px; border: 3px solid rgba(255,255,255,.13); border-top-color: var(--game-accent); border-radius: 50%; animation: demo-spin .8s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
.demo-notice { margin: 0; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--muted); background: var(--panel-soft); font-size: 11px; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.bonus-card { position: relative; min-height: 185px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.bonus-number { position: absolute; top: 14px; right: 16px; color: var(--line); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.bonus-card h3 { position: relative; max-width: 80%; margin: 17px 0 12px; font-size: 1.35rem; }
.bonus-card p { position: relative; color: var(--muted-strong); font-size: 13px; }
.bonus-card p strong { color: var(--game-accent); }
.bonus-check { position: absolute; left: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 10px; font-weight: 850; text-transform: uppercase; }

/* Editorial, related and FAQ */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { position: relative; height: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.related-card > img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.4px) saturate(.88) brightness(.84); transform: scale(1.02); transition: filter .3s ease, transform .3s ease; }
.related-card:hover > img { filter: blur(.6px) saturate(.95) brightness(.9); transform: scale(1.045); }
.related-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,11,.08), rgba(4,7,11,.94)); }
.related-card > span { position: absolute; z-index: 1; inset: auto 0 0; display: grid; gap: 4px; padding: 18px; }
.related-card small { color: var(--game-accent); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.related-card strong { font-size: 1.45rem; }
.related-card em { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-size: 11px; font-style: normal; font-weight: 800; }
.editorial-note { display: grid; grid-template-columns: .68fr 1.32fr; gap: 30px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.editorial-note-heading h2 { margin: 10px 0 0; font-size: 2rem; }
.editorial-note-body > p { color: var(--muted-strong); }
.editorial-byline { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.editorial-byline span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 10px; font-weight: 750; }
.editorial-links { display: flex; flex-wrap: wrap; gap: 16px; }
.editorial-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-size: 12px; font-weight: 800; }
.responsible-card { display: grid; grid-template-columns: .75fr 1.25fr auto; gap: 22px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.responsible-card h2 { margin: 8px 0 0; font-size: 1.7rem; }
.responsible-card p { margin: 0; color: var(--muted); }
.info-panels { display: grid; gap: 14px; }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 7vw, 90px); align-items: start; }
.faq-section h2 { margin: 10px 0 14px; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 2px; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 800; cursor: pointer; }
.faq-item button svg { flex: 0 0 auto; color: var(--muted); transition: transform .18s ease; }
.faq-item.is-open button svg { transform: rotate(180deg); color: var(--cyan); }
.faq-item p { max-width: 680px; margin: -4px 0 18px; color: var(--muted-strong); font-size: 14px; }

/* Article cards and pages */
.article-teaser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.article-teaser { position: relative; height: 350px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 16px 40px rgba(0,0,0,.2); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.article-teaser:hover { border-color: color-mix(in srgb, var(--article-accent), var(--line) 35%); transform: translateY(-3px); box-shadow: 0 22px 54px rgba(0,0,0,.28); }
.article-teaser > img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: blur(1.6px) saturate(.88) brightness(.83); transform: scale(1.025); transition: filter .38s ease, transform .38s ease; }
.article-teaser:hover > img { filter: blur(.7px) saturate(.95) brightness(.88); transform: scale(1.05); }
.article-teaser-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,11,.16) 0%, rgba(4,7,11,.12) 30%, rgba(4,7,11,.76) 59%, rgba(4,7,11,.98) 100%); }
.article-teaser-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.article-teaser-top { position: absolute; top: 13px; left: 13px; right: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--article-accent); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.article-teaser-top > span { min-width: 0; padding: 5px 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; background: rgba(5,8,13,.72); backdrop-filter: blur(9px); text-overflow: ellipsis; white-space: nowrap; }
.article-teaser-top > span:last-child { color: #dce3ed; }
.article-teaser h3 { display: -webkit-box; margin: 0 0 9px; overflow: hidden; font-size: clamp(1.25rem, 1.55vw, 1.65rem); line-height: 1.08; text-wrap: balance; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.article-teaser p { display: -webkit-box; margin: 0 0 11px; overflow: hidden; color: #c9d1dc; font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-teaser .text-link { font-size: 12px; }
.article-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-hub-card { position: relative; height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.article-hub-card > img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.4px) saturate(.9) brightness(.86); transform: scale(1.02); }
.article-hub-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,11,.08), rgba(4,7,11,.95)); }
.article-hub-body { position: absolute; inset: auto 0 0; display: grid; gap: 7px; padding: 20px; }
.article-hub-body small { color: var(--article-accent); font-size: 10px; font-weight: 900; }
.article-hub-body strong { font-size: 1.35rem; line-height: 1.12; }
.article-hub-body em { display: inline-flex; align-items: center; gap: 5px; color: var(--yellow); font-size: 11px; font-style: normal; font-weight: 800; }
.articles-hero-grid, .article-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 86px); align-items: center; padding-block: 54px; }
.articles-hero h1, .article-hero h1, .intent-hero h1 { max-width: 720px; margin: 16px 0; font-size: clamp(3rem, 6vw, 5.7rem); }
.articles-hero p, .article-hero p, .intent-hero p { max-width: 680px; color: var(--muted-strong); font-size: 17px; }
.articles-hero-art, .article-hero-art { position: relative; height: 350px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.articles-hero-art img, .article-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.articles-hero-art::after, .article-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,11,.05), rgba(4,7,11,.76)); }
.articles-hero-art span, .article-hero-art span { position: absolute; z-index: 1; left: 18px; bottom: 15px; font-size: 13px; font-weight: 850; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 46px; align-items: start; }
.article-body { max-width: 780px; color: var(--muted-strong); }
.article-body h2 { margin: 42px 0 14px; color: var(--text); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.article-lead { color: var(--text); font-size: 20px; line-height: 1.5; }
.article-callout { display: grid; gap: 5px; margin: 24px 0; padding: 20px; border-left: 3px solid var(--game-accent); background: var(--panel-soft); }
.article-callout strong { color: var(--text); }
.article-callout span { color: var(--muted); font-size: 13px; }
.article-checklist { display: grid; gap: 8px; margin-block: 20px; }
.article-checklist p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); }
.article-checklist svg { color: var(--cyan); }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.article-sidebar > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.article-sidebar span { color: var(--muted); font-size: 11px; }
.article-sidebar strong { font-size: 13px; }
.article-sidebar .button { margin: 12px; }
.article-payout-embed { margin-top: 18px; }

/* About */
.intent-hero .shell { padding-block: 36px 76px; }
.about-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; margin-top: 44px; align-items: start; }
.about-grid h2 { margin: 10px 0 14px; font-size: 2.8rem; }
.about-bullets { display: grid; gap: 9px; margin-top: 23px; }
.about-bullets p { display: flex; gap: 10px; margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted-strong); }
.about-bullets svg { flex: 0 0 auto; margin-top: 4px; color: var(--cyan); }
.about-side { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-soft); }
.about-side strong { font-size: 1.3rem; }
.about-side p { margin: 10px 0 18px; color: var(--muted); }
.about-transparency { border-top: 1px solid var(--line-soft); }
.about-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-process-card { position: relative; min-height: 220px; padding: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #111a27, #0c131d); }
.about-process-card > span { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.about-process-card h3 { margin: 22px 0 10px; font-size: 1.25rem; }
.about-process-card p { margin: 0; color: var(--muted-strong); font-size: 13px; }
.about-process-card::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 110px; height: 110px; border: 1px solid rgba(88,221,212,.12); border-radius: 50%; }
.about-source { padding-top: 0; }
.about-source > a { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 800; }

/* Footer */
.site-footer { padding: 58px 0 96px; border-top: 1px solid var(--line); background: #05080c; }
.footer-top { display: grid; grid-template-columns: 1.7fr .65fr .75fr .75fr auto; gap: 34px; }
.footer-brand-logo { width: 220px; height: 40px; object-fit: contain; object-position: left center; }
.footer-brand-block > p { max-width: 400px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.footer-badges img { flex: 0 0 auto; object-fit: contain; opacity: .9; }
.footer-badges img:first-child { width: 108px; height: 32px; padding: 0; filter: none; }
.footer-badges img:nth-child(2), .footer-badges img:nth-child(3) { width: 154px; height: 36px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #eef1f4; filter: none; }
.footer-cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-cta-button { min-height: 39px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border-radius: 7px; color: #11150f; background: var(--yellow); font-size: 11px; font-weight: 850; }
.footer-cta-button-ghost { border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.footer-column { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-column > span { margin-bottom: 5px; color: var(--text); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { color: var(--muted); }
.footer-column a:hover { color: var(--text); }
.footer-language-cloud { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.footer-language-cloud a { padding: 4px 6px; border: 1px solid var(--line-soft); border-radius: 5px; font-size: 9px; }
.footer-age-panel { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.age-badge { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--danger); border-radius: 50%; color: var(--danger); font-size: 17px; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: #6f7b8d; font-size: 10px; }
.fixed-cta { position: fixed; z-index: 35; left: 50%; bottom: 14px; display: flex; overflow: hidden; border: 1px solid #344157; border-radius: 11px; background: rgba(10,15,23,.94); box-shadow: 0 14px 45px rgba(0,0,0,.42); backdrop-filter: blur(14px); transform: translateX(-50%); }
.fixed-cta a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 15px; border-right: 1px solid var(--line); color: var(--muted-strong); font-size: 11px; font-weight: 800; }
.fixed-cta a:last-child { border-right: 0; color: #11150f; background: var(--yellow); }

/* Bonus journey: reveal, detail, confirmation */
.bonus-toast, .bonus-float { position: fixed; z-index: 46; right: 22px; bottom: 72px; border: 1px solid #354156; border-radius: 14px; background: #101722; box-shadow: 0 20px 62px rgba(0,0,0,.5); }
.bonus-toast { width: min(355px, calc(100vw - 28px)); display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 12px; overflow: hidden; padding: 13px 13px 18px; background: linear-gradient(145deg, rgba(18,27,40,.98), rgba(10,16,25,.98)); }
.bonus-toast::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; border-radius: 0 4px 4px 0; background: var(--yellow); }
.bonus-toast-icon { width: 50px; height: 50px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,214,74,.22); border-radius: 11px; background: rgba(255,214,74,.08); }
.bonus-toast-icon img { width: 44px; height: 44px; object-fit: contain; }
.bonus-toast-copy { min-width: 0; display: grid; gap: 2px; }
.bonus-toast-copy strong { font-size: 13px; line-height: 1.25; }
.bonus-toast-copy > span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.bonus-toast-open { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; padding: 0; border: 0; background: transparent; color: var(--yellow); font-size: 10px; font-weight: 850; cursor: pointer; }
.bonus-toast-open b { font-size: 13px; transition: transform .18s ease; }
.bonus-toast-open:hover b { transform: translateX(3px); }
.bonus-toast-close, .bonus-float-close { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-soft); color: var(--muted); cursor: pointer; }
.bonus-float { width: min(490px, calc(100vw - 28px)); display: grid; grid-template-columns: 125px 1fr; overflow: hidden; }
.bonus-float-close { position: absolute; z-index: 2; top: 10px; right: 10px; }
.bonus-float-art { min-height: 210px; display: grid; place-items: center; background: linear-gradient(145deg, #293020, #0b1018); }
.bonus-float-art img { width: 105px; height: 105px; object-fit: contain; }
.bonus-float-body { display: flex; flex-direction: column; justify-content: center; padding: 24px 42px 28px 20px; }
.bonus-float-label { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.bonus-float-body > strong { margin-top: 8px; font-size: 1.6rem; line-height: 1.05; }
.bonus-float-body > p { margin: 9px 0 15px; color: var(--muted); font-size: 12px; }
.bonus-float-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.bonus-float-actions a, .bonus-float-actions button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel-strong); font-size: 11px; font-weight: 850; cursor: pointer; }
.bonus-float-actions a { border-color: var(--yellow); color: #11150f; background: var(--yellow); }
.bonus-stage { position: absolute; left: 15px; right: 15px; bottom: 8px; display: flex; gap: 4px; }
.bonus-stage i { height: 2px; flex: 1; border-radius: 3px; background: #324056; }
.bonus-stage i.is-active { background: var(--yellow); }
.bonus-modal { width: min(760px, calc(100vw - 32px)) !important; max-width: none !important; grid-template-columns: .95fr 1.05fr !important; gap: 0 !important; overflow: hidden; padding: 0 !important; border: 1px solid #475269 !important; border-radius: 17px !important; background: #0d131d !important; box-shadow: 0 28px 90px rgba(0,0,0,.62) !important; }
.bonus-modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(3,5,8,.86); backdrop-filter: blur(8px); }
.bonus-modal-backdrop .bonus-modal { position: relative; display: grid; }
.bonus-modal > [data-slot="dialog-close"] { z-index: 4; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: var(--text); background: rgba(7,10,15,.72); opacity: 1; }
.bonus-modal-art { position: relative; min-height: 370px; }
.bonus-modal-art img { width: 100%; height: 100%; object-fit: cover; }
.bonus-modal-art span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #0d131d), linear-gradient(180deg, transparent 55%, rgba(7,10,15,.72)); }
.bonus-modal-body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 38px; }
.bonus-modal-kicker { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.bonus-modal-body [data-slot="dialog-title"] { margin-top: 9px; color: var(--text); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.bonus-modal-body [data-slot="dialog-description"] { margin: 15px 0 20px; color: var(--muted-strong); font-size: 13px; }
.bonus-modal-body small { margin-top: 12px; color: var(--muted); }
.bonus-modal-body .bonus-stage { left: 38px; right: 38px; bottom: 19px; }

/* Utility contracts retained for the bundled UI primitives */
.scroll-fade-reveal-b { mask-image: linear-gradient(to bottom, transparent, #000 16px, #000); }
.utility-contract { --tw-enter-opacity: 1; scrollbar-width: thin; scrollbar-gutter: stable; }
.scrollbar-none { scrollbar-width: none; }
@keyframes tw-shimmer { to { background-position: -200% 0; } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-language { margin-left: auto; }
  .mobile-menu { display: block; }
  .collection-hero-grid, .game-hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .collection-showcase { height: 380px; grid-template-columns: 1fr; }
  .showcase-side-grid { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-teaser { height: 330px; }
  .payout-layout { grid-template-columns: 1fr; }
  .payout-note { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
  .payout-note p { margin: 0; }
  .payout-note .small-note { grid-column: 2; padding-top: 8px; }
  .footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer-age-panel { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 780px) {
  :root { --header-h: 64px; }
  .shell { width: min(100% - 28px, 1200px); }
  .section { padding-block: 58px; }
  .section-compact { padding-block: 42px; }
  .site-header { height: var(--header-h); }
  .header-inner { gap: 6px; }
  .brand-logo { width: 92px; height: 31px; }
  .header-language { display: none; }
  .header-actions { display: flex; margin-left: auto; gap: 5px; }
  .header-actions .button { min-height: 44px; padding-inline: 10px; border-radius: 8px; font-size: 10px; white-space: nowrap; }
  .header-action-icon, .header-action-arrow { display: none; }
  .mobile-menu { margin-left: 0; }
  .mobile-menu summary { width: 44px; height: 44px; }
  .section-title-row { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .section-title-row > p { max-width: 620px; }
  .collection-hero { background: #070a0f; }
  .collection-hero::before { background-image: url(/assets/brand/le-series-hero-user-mobile-soft.webp); background-position: center 40%; }
  .collection-hero::after { background: linear-gradient(180deg, rgba(5,8,13,.5) 0%, rgba(5,8,13,.68) 48%, #070a0f 100%); }
  .collection-hero-grid { grid-template-columns: 1fr; padding-block: 46px 26px; }
  .collection-hero-copy h1 { font-size: clamp(3.1rem, 15vw, 5.1rem); }
  .collection-showcase { height: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(82%, 1fr); gap: 10px; padding: 2px 2px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .showcase-side-grid { display: contents; }
  .showcase-feature-card, .showcase-mini-card { height: 280px; scroll-snap-align: start; }
  .showcase-mini-card .showcase-card-content { padding: 18px; }
  .showcase-mini-card .showcase-card-content strong { font-size: 1.45rem; }
  .showcase-mini-card .showcase-card-content em { display: block; }
  .collection-stats { grid-template-columns: repeat(2, 1fr); }
  .collection-stats > div:nth-child(2) { border-right: 0; }
  .collection-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .welcome-bonus { grid-template-columns: auto 1fr; }
  .bonus-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; }
  .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .filter-tabs button { white-space: nowrap; }
  .catalog-grid { grid-template-columns: 1fr; }
  .game-card-art { height: 220px; }
  .article-teaser-grid { grid-template-columns: 1fr 1fr; }
  .article-teaser { height: 310px; }
  .faq-section, .editorial-note, .responsible-card, .about-grid, .article-layout, .articles-hero-grid, .article-hero-grid, .game-intro-grid { grid-template-columns: 1fr; }
  .about-process-grid { grid-template-columns: 1fr; }
  .about-process-card { min-height: 0; }
  .article-sidebar { position: static; grid-row: 1; grid-template-columns: repeat(3, 1fr); }
  .article-sidebar > div { display: grid; border-right: 1px solid var(--line-soft); }
  .article-sidebar .button { grid-column: 1 / -1; }
  .articles-hero-art, .article-hero-art { height: 300px; }
  .game-hero .shell { padding-block: 22px 42px; }
  .game-hero-grid { grid-template-columns: 1fr; }
  .game-hero-copy h1 { font-size: clamp(3.5rem, 18vw, 5.7rem); }
  .game-hero-art { height: 390px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3n) { border-right: 1px solid var(--line-soft); }
  .facts-grid div:nth-child(2n) { border-right: 0; }
  .facts-grid div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-soft); }
  .facts-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .mechanic-showcase { grid-template-columns: 1fr; }
  .mechanic-showcase-main { min-height: 330px; }
  .mechanic-showcase-side { grid-template-columns: 1fr; grid-template-rows: 250px auto; }
  .payout-table-stack { grid-template-columns: 1fr; }
  .table-shell th:first-child, .table-shell td:first-child { position: sticky; left: 0; z-index: 2; border-right: 1px solid var(--line); background: var(--panel-soft); }
  .table-shell th:first-child { z-index: 3; background: var(--panel-strong); }
  .payout-visual { grid-template-columns: .9fr 1.1fr; grid-template-rows: 220px; }
  .payout-visual figure { height: 220px; }
  .screenshot-rail { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid, .related-grid, .article-hub-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-age-panel { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .bonus-modal { grid-template-columns: 1fr !important; width: min(520px, calc(100vw - 24px)) !important; }
  .bonus-modal-art { min-height: 210px; max-height: 32vh; }
  .bonus-modal-art span { background: linear-gradient(180deg, transparent 48%, #0d131d); }
  .bonus-modal-body { padding: 26px 24px 38px; }
  .bonus-modal-body .bonus-stage { left: 24px; right: 24px; }
}

.bonus-terms-note { grid-column: 2; color: var(--muted); font-size: 10px; line-height: 1.45; }
.article-author { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 0; padding: 13px 15px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--muted-strong); font-size: 12px; }
.article-author a { color: var(--cyan); font-weight: 800; }
.legal-hero { padding: 76px 0 52px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 15%, rgba(51,215,210,.11), transparent 32%), linear-gradient(180deg, #0c121b, #070a0f); }
.legal-hero h1 { max-width: 860px; margin: 20px 0 14px; font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -.05em; }
.legal-hero p { max-width: 780px; margin: 0; color: var(--muted-strong); font-size: 17px; line-height: 1.7; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 5px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); }
.legal-toc strong { margin-bottom: 7px; color: var(--text); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc a { padding: 8px 9px; border-radius: 7px; color: var(--muted); font-size: 12px; }
.legal-toc a:hover { color: var(--text); background: rgba(255,255,255,.045); }
.legal-content { max-width: 820px; }
.legal-content section { scroll-margin-top: calc(var(--header-h) + 24px); padding: 0 0 30px; }
.legal-content section + section { padding-top: 30px; border-top: 1px solid var(--line-soft); }
.legal-content h2 { margin: 0 0 13px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.legal-content p, .legal-content li { color: var(--muted-strong); line-height: 1.75; }
.legal-content ul { display: grid; gap: 8px; padding-left: 20px; }
.legal-updated { display: inline-flex; margin-bottom: 28px; padding: 7px 10px; border: 1px solid rgba(51,215,210,.22); border-radius: 7px; color: var(--cyan) !important; background: rgba(51,215,210,.06); font-size: 11px; font-weight: 800; }
.contact-placeholder { display: inline-flex; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--yellow); background: var(--panel); font-weight: 800; }

@media (max-width: 780px) {
  .bonus-terms-note { grid-column: 1 / -1; }
  .legal-hero { padding: 54px 0 38px; }
  .legal-hero p { font-size: 15px; }
  .legal-layout { grid-template-columns: 1fr; gap: 26px; }
  .legal-toc { position: static; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .shell { width: min(100% - 22px, 1200px); }
  .collection-hero-copy h1 { font-size: clamp(2.8rem, 16vw, 4.2rem); }
  .hero-actions .button { width: 100%; }
  .hero-quick-nav-head { align-items: flex-start; gap: 10px; }
  .hero-game-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .collection-showcase { height: auto; grid-auto-columns: minmax(86%, 1fr); }
  .showcase-feature-card, .showcase-mini-card { height: 255px; }
  .collection-stats > div { padding: 15px; }
  .collection-stats strong { font-size: 19px; }
  .bonus-copy strong { white-space: normal; }
  .game-card-art { height: 190px; }
  .article-teaser-grid { display: grid; grid-template-columns: 1fr; }
  .article-teaser { height: 290px; }
  .article-teaser h3 { font-size: 1.5rem; }
  .article-teaser-top > span:last-child { display: none; }
  .game-hero-copy h1 { font-size: clamp(3.1rem, 18vw, 4.7rem); }
  .game-hero-art { height: 300px; }
  .game-hero-badge { align-items: flex-start; flex-direction: column; gap: 7px; }
  .game-hero-badge span { text-align: left; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div, .facts-grid div:nth-child(3n), .facts-grid div:nth-child(2n), .facts-grid div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .facts-grid div:last-child { border-bottom: 0; }
  .comparison-table { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; scrollbar-gutter: auto; }
  .comparison-table table { min-width: 0; border-collapse: separate; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .comparison-table tbody { display: grid; gap: 10px; }
  .comparison-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-soft); }
  .comparison-table tbody tr.comparison-extra-row { display: grid; }
  .comparison-table-wrap:not(.is-expanded) .comparison-extra-row { display: none; }
  .comparison-table td { min-width: 0; padding: 12px; border: 0; border-right: 1px solid var(--line-soft); color: var(--text); font-size: 12px; }
  .comparison-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
  .comparison-table td:first-child { position: static; z-index: auto; grid-column: 1 / -1; padding: 13px 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); background: transparent; box-shadow: none; }
  .comparison-table td:first-child::before { display: none; }
  .comparison-table td:nth-child(4) { border-right: 0; }
  .comparison-table td:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); border-right: 0; }
  .comparison-game-link { min-width: 0; gap: 10px; }
  .comparison-game-link img { width: 72px; height: 38px; }
  .comparison-table-wrap:not(.is-expanded)::after { display: none; }
  .comparison-toggle { margin-top: 12px; }
  .demo-stage { min-height: 360px; aspect-ratio: auto; }
  .demo-bar { align-items: flex-start; flex-direction: column; }
  .demo-preview-shade { background: linear-gradient(180deg, rgba(4,7,11,.48), rgba(4,7,11,.94)); }
  .demo-preview .demo-preview-content { grid-template-columns: minmax(0, 560px); place-content: center; place-items: center; padding: 24px; text-align: center; }
  .demo-preview-panel { padding: 14px; }
  .demo-preview-actions { display: grid; grid-template-columns: 1fr; }
  .demo-preview-actions .button { width: 100%; }
  .demo-preview-panel small { margin-top: 10px; }
  .mechanic-showcase-main { min-height: 250px; }
  .mechanic-showcase-side { grid-template-rows: 210px auto; }
  .payout-visual { grid-template-columns: 1fr; grid-template-rows: 210px auto; }
  .payout-visual figure { height: 210px; }
  .screenshot-rail { grid-template-columns: 1fr; }
  .screenshot-rail figure { height: 230px; }
  .article-feature-image { height: 280px; }
  .payout-note { grid-template-columns: 1fr; }
  .payout-note .small-note { grid-column: 1; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-sidebar > div { display: flex; border-right: 0; }
  .articles-hero-art, .article-hero-art { height: 235px; }
  .about-grid { gap: 28px; }
  .responsible-card { gap: 15px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand-block, .footer-age-panel { grid-column: auto; }
  .footer-age-panel { align-items: flex-start; }
  .footer-badges img:first-child { width: 96px; }
  .footer-badges img:nth-child(2), .footer-badges img:nth-child(3) { width: 142px; }
  .fixed-cta { left: 0; right: 0; bottom: 0; width: 100%; border-inline: 0; border-bottom: 0; border-radius: 12px 12px 0 0; transform: none; }
  .fixed-cta a { flex: 1; padding-inline: 8px; }
  .site-footer { padding-bottom: 86px; }
  .bonus-toast, .bonus-float { right: 11px; bottom: 62px; width: calc(100vw - 22px); }
  .bonus-float { grid-template-columns: 88px 1fr; }
  .bonus-float-art { min-height: 200px; }
  .bonus-float-art img { width: 76px; height: 76px; }
  .bonus-float-body { padding: 22px 38px 27px 15px; }
  .bonus-float-body > strong { font-size: 1.35rem; }
  .media-lightbox-dialog { width: calc(100vw - 16px) !important; max-height: calc(100vh - 16px); }
  .media-lightbox-stage { height: calc(100vh - 94px); }
}

@media (max-width: 360px) {
  .brand-logo { width: 88px; }
  .header-actions .button { width: 44px; padding: 0; }
  .header-actions .button > span:not(.header-action-icon) { display: none; }
  .header-actions .header-action-icon { display: grid; width: 22px; height: 22px; }
  .header-actions .header-bonus-icon img { width: 24px; height: 24px; }
}

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

/* ===== v36 centered two-stage bonus dialog ===== */
body.bonus-dialog-open { overflow: hidden; }

.bonus-dialog-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 11, .78);
  -webkit-backdrop-filter: blur(10px) brightness(.58) saturate(.82);
  backdrop-filter: blur(10px) brightness(.58) saturate(.82);
  opacity: 0;
  transition: opacity .18s ease;
}

.bonus-dialog-backdrop.is-visible { opacity: 1; }
.bonus-dialog-backdrop.is-leaving { opacity: 0; pointer-events: none; }

.bonus-dialog {
  position: relative;
  width: min(760px, calc(100vw - 40px));
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(245px, .78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid #405573;
  border-radius: 22px;
  background: linear-gradient(180deg, #101a29 0%, #0a121e 100%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255,255,255,.055);
  color: var(--text);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  transition: transform .22s cubic-bezier(.2,.75,.3,1), opacity .18s ease;
}

.bonus-dialog-backdrop.is-visible .bonus-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bonus-dialog::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow), #ff63b8);
}

.bonus-dialog--reminder::before {
  background: linear-gradient(90deg, #ffcf3d, #ff8d36, #ff5a82);
}

.bonus-dialog-close {
  position: absolute;
  z-index: 8;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #40516a;
  border-radius: 11px;
  background: #0b1421;
  color: #c5d0df;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.bonus-dialog-close:hover {
  transform: translateY(-1px);
  border-color: #647b98;
  background: #142238;
  color: #fff;
}

.bonus-dialog-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 38px 28px;
  overflow: hidden;
  border-right: 1px solid #2e4058;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,212,71,.17), transparent 26%),
    radial-gradient(circle at 26% 20%, rgba(95,229,220,.1), transparent 24%),
    linear-gradient(145deg, #17243a 0%, #0c1624 62%, #0a111b 100%);
}

.bonus-dialog-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background: url('/assets/games/le-bandit/loading.webp') center / cover no-repeat;
  filter: saturate(.72) brightness(.5);
}

.bonus-dialog-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,12,20,.24), rgba(7,12,20,.82));
}

.bonus-dialog-brand,
.bonus-dialog-symbol,
.bonus-dialog-age {
  position: relative;
  z-index: 2;
}

.bonus-dialog-brand {
  width: min(215px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.34));
}

.bonus-dialog-symbol {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,212,71,.32);
  border-radius: 24px;
  background: radial-gradient(circle at 35% 28%, #ffe98c 0%, #ffd447 48%, #dcae20 100%);
  box-shadow: 0 18px 38px rgba(255,212,71,.16), inset 0 1px 0 rgba(255,255,255,.38);
}

.bonus-dialog-symbol img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.24));
}

.bonus-dialog-age {
  min-height: 31px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #435875;
  border-radius: 999px;
  background: rgba(7,13,22,.78);
  color: #c6d1df;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.bonus-dialog-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 54px 44px 42px;
}

.bonus-dialog-kicker {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bonus-dialog--reminder .bonus-dialog-kicker { color: #ffcf3d; }

.bonus-dialog-content h2 {
  margin: 10px 0 13px;
  max-width: 520px;
  color: #f7f9fd;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.bonus-dialog-offer {
  display: block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.bonus-dialog-content p {
  margin: 0 0 22px;
  max-width: 500px;
  color: #bcc8d7;
  font-size: 13px;
  line-height: 1.62;
}

.bonus-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bonus-dialog-claim,
.bonus-dialog-later {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease, background .17s ease;
}

.bonus-dialog-claim {
  border: 1px solid #ffe36b;
  background: linear-gradient(180deg, #ffe16d, #ffd13a);
  color: #11150f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 12px 24px rgba(255,212,71,.17);
}

.bonus-dialog-claim:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ffe887, #ffd747);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48), 0 16px 30px rgba(255,212,71,.22);
}

.bonus-dialog-later {
  border: 1px solid #3a4d68;
  background: #101b2b;
  color: #d7dfeb;
}

.bonus-dialog-later:hover {
  transform: translateY(-1px);
  border-color: #607895;
  background: #16243a;
}

.bonus-dialog-terms {
  margin-top: 16px;
  max-width: 510px;
  color: #8493a7;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .bonus-dialog-backdrop {
    align-items: center;
    padding: 12px;
    -webkit-backdrop-filter: blur(8px) brightness(.55) saturate(.8);
    backdrop-filter: blur(8px) brightness(.55) saturate(.8);
  }

  .bonus-dialog {
    width: min(520px, calc(100vw - 24px));
    max-height: min(88vh, 720px);
    grid-template-columns: 1fr;
    overflow-y: auto;
    border-radius: 18px;
  }

  .bonus-dialog-visual {
    min-height: 150px;
    padding: 24px 58px 20px 24px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid #2e4058;
  }

  .bonus-dialog-brand { width: 150px; }
  .bonus-dialog-symbol { width: 64px; height: 64px; border-radius: 17px; }
  .bonus-dialog-symbol img { width: 46px; height: 46px; }
  .bonus-dialog-age { display: none; }

  .bonus-dialog-content { padding: 26px 24px 28px; }
  .bonus-dialog-content h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .bonus-dialog-offer { font-size: 1.4rem; }
  .bonus-dialog-content p { font-size: 12px; }
  .bonus-dialog-actions { display: grid; grid-template-columns: 1fr; }
  .bonus-dialog-claim, .bonus-dialog-later { width: 100%; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .bonus-dialog-backdrop,
  .bonus-dialog,
  .bonus-dialog-close,
  .bonus-dialog-claim,
  .bonus-dialog-later { transition: none !important; }
}
