/* Tomara. Minimal dark theme: deep navy, white type, mint as the only accent. */
:root {
  --bg: #0E1621;
  --surface: #131D2A;
  --surface-2: #192536;
  --line: #223042;
  --ink: #F3F5F8;
  --muted: #8D9AAD;
  --brand: #22C673;
  --brand-2: #2BD982;
  --brand-hover: #2BD982;
  --brand-text: #3BE494;
  --brand-soft: #12302A;
  --on-brand: #06231A;
  --glow: drop-shadow(0 0 6px rgba(43, 217, 130, .65));
  --side-w: 280px;
  --blue: #2B4FD1;
  --blue-text: #8FA8FF;
  --blue-soft: #1C2440;
  --gold: #F5B301;
  --gold-dark: #C98F00;
  --good: #3DD26F;
  --bad: #F26B6B;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  --f: "Noto Sans Georgian", "Noto Sans", system-ui, sans-serif;
  --r: 12px;
  --r-ctl: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 95%; }
h4 { font-size: 1rem; font-weight: 700; font-stretch: 100%; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.i { width: 18px; height: 18px; flex: none; }

/* buttons. Green buttons use large bold type so white text stays readable. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 1.2em; border-radius: var(--r-ctl); border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; touch-action: manipulation; }
.btn-primary, .btn-cta { background: var(--brand); color: var(--on-brand); font-size: 1rem; font-weight: 700; }
.btn-primary:hover, .btn-cta:hover { background: var(--brand-hover); }
.btn-cta .i { transition: transform .2s; }
.btn-cta:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { min-height: 54px; padding: 0 1em; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .9rem; }
.link:hover { color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: transparent; cursor: pointer; flex: none; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-btn:hover { border-color: var(--muted); }
.save[aria-pressed="true"] { color: var(--bad); }
.icon-btn.save[aria-pressed="true"] { border-color: var(--bad); }
.save[aria-pressed="true"] svg { fill: currentColor; }
.save.pop svg { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }

/* brand */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 30px; width: auto; }
.site-footer .brand-logo { height: 26px; }
.mark { width: 28px; height: auto; flex: none; }
.mark-lg { width: 64px; height: auto; margin: 0 auto 14px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(14, 22, 33, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { margin-right: auto; }
.saved-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--ink); }
.saved-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.saved-link .count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: var(--bg); font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; }
.saved-link .count[data-zero] { display: none; }
.lang { display: flex; gap: 2px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.lang a { display: grid; place-items: center; width: 38px; height: 30px; border-radius: 7px; text-decoration: none; transition: background .15s; }
.lang a:hover { background: var(--surface-2); }
.lang a[aria-current] { background: var(--surface-2); box-shadow: inset 0 0 0 1px #2F4157; }
.flag { width: 22px; height: 15px; border-radius: 3px; opacity: .55; transition: opacity .15s; }
.lang a:hover .flag, .lang a[aria-current] .flag { opacity: 1; }

/* category menu: second header row, scrolls sideways on phones */
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; position: relative; padding: 11px 14px; text-decoration: none; font-weight: 500; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.cat-nav a:first-child { padding-left: 0; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a[aria-current] { color: var(--ink); }
.cat-nav a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--brand-2); }
.cat-nav a:first-child[aria-current]::after { left: 0; }

.cat-nav .nav-ico { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; display: inline-block; }

/* icons light up mint with a soft glow on hover / when active */
.nav-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s, filter .15s; }
a:hover > .nav-ico, a:focus-visible > .nav-ico, a[aria-current] > .nav-ico, .menu-btn:hover .nav-ico { stroke: var(--brand-2); filter: var(--glow); }

/* left sidebar (desktop), slide-in drawer (mobile) */
.shell { display: block; }
.side { display: none; }
.side-group { display: grid; gap: 2px; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.side-group + .side-group { margin-top: 12px; }
.side-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: var(--r-ctl); text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 500; transition: background .15s, color .15s; }
.side-link:hover, .side-link:focus-visible { background: var(--surface-2); color: var(--ink); }
.side-link[aria-current] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.side-link[aria-current]::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-2); }
.side-count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; }
.side-count[data-zero] { display: none; }
.menu-btn { display: none; place-items: center; width: 40px; height: 40px; margin-left: -8px; border: 0; background: none; cursor: pointer; border-radius: var(--r-ctl); }
.menu-btn .nav-ico { width: 24px; height: 24px; stroke: var(--ink); }
.side-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(0, 0, 0, .55); }

@media (min-width: 1100px) {
  .shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .side { display: block; position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto; padding: 16px 12px 24px 16px; scrollbar-width: thin; }
  .content { min-width: 0; }
  .content .wrap { width: min(1200px, 100% - 48px); }
  .site-header .cat-nav { display: none; }
  .site-header .wrap { width: calc(100% - 32px); }
}
@media (max-width: 1099px) {
  .menu-btn { display: inline-grid; }
  .side { position: fixed; z-index: 40; top: 0; bottom: 0; left: 0; width: min(290px, 85vw); padding: 16px 12px; overflow-y: auto; background: var(--bg); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .25s ease; display: block; visibility: hidden; }
  body.menu-open .side { transform: none; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* category links (other categories, at the bottom of listing pages) */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; border-top: 1px solid var(--line); }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cat-tile:hover b { color: var(--brand-text); }
.cat-tile b { display: block; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.cat-tile small { color: var(--muted); font-size: .82rem; }
.cat-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s, filter .15s; }
.cat-tile:hover .cat-ico { stroke: var(--brand-2); filter: var(--glow); }
.cats-home { padding-top: 28px; }
.cats-more { padding: 8px 0 64px; }
.cats-more h2 { font-size: 1.3rem; }

/* page head + breadcrumbs */
.page-head { padding: 28px 0 0; }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: .35em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* news */
.news-section { padding: 40px 0 8px; }
.news-section .section-head { margin-bottom: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { position: relative; display: flex; flex-direction: column; }
.news-card:hover h3 { color: var(--brand-text); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.news-card > div { padding: 14px 0 0; }
.news-card time { font-size: .8rem; color: var(--muted); }
.news-card h3 { margin: 6px 0 8px; font-size: 1.12rem; line-height: 1.3; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.article { padding-top: 28px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; }
.article-img { width: 100%; height: auto; border-radius: var(--r); margin: 8px 0 24px; }
.article-body { font-size: 1.06rem; }
.article-body p, .article-body li { color: #D2D4DA; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 6px; }
.article-body li::marker { color: var(--brand-text); }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--brand-text); }
.article-body blockquote { margin: 28px 0; padding: 16px 20px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; }
.article-body blockquote p { margin: 0; color: var(--ink); }
.article + .similar { padding: 16px 0 24px; }

/* hero: short, so the ranking starts above the fold */
.hero { padding: 24px 0 8px; }
/* banner card: the picture fills the card, the heading sits on its empty left side */
.hero-card { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(230px, 20vw, 280px); border-radius: 18px; background: #10192D; border: 1px solid var(--line); isolation: isolate; }
/* "contain" + right: the whole picture height always shows, so heads and the sack are never cropped;
   the picture's empty left side matches the card colour, so it blends in */
.hero-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: contain; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 32%, #000 58%); mask-image: linear-gradient(90deg, transparent 32%, #000 58%); }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 25, 45, .92) 0%, rgba(16, 25, 45, .6) 34%, transparent 58%); }
.hero-copy { position: relative; max-width: 600px; padding: 26px 40px; }
.hero .trust { margin-top: 12px; }
.hero .lead { font-size: 1.15rem; margin-bottom: 0; }
.hero-cta { display: none; }
.hero h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; margin-bottom: .35em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero .lead { color: #B9C4D4; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 56ch; }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .i { color: var(--brand-text); width: 16px; height: 16px; }

/* small square monogram (review header, recently viewed) */
.logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--c); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; flex: none; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.stars-fill::before { content: "★★★★★"; letter-spacing: 1px; background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), var(--line) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo { display: inline-block; vertical-align: middle; font-size: .68rem; font-weight: 600; font-stretch: 100%; padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); }

/* ranking */
.ranking { padding: 40px 0 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.controls { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin: 12px 0 20px; }
.controls .tabs { flex: 0 1 auto; min-width: 0; }
/* fade the edge that has more tabs to scroll to */
.tabs[data-more-right] { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tabs[data-more-left] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
.tabs[data-more-left][data-more-right] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tabs { scroll-behavior: smooth; }
/* filter bar: one framed group of icon tabs + a separate sort box */
.tabs { display: flex; gap: 4px; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); cursor: pointer; font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.tab .nav-ico { width: 18px; height: 18px; stroke: var(--ink); }
.tab:hover { background: var(--surface-2); }
.tab:hover .nav-ico { stroke: var(--brand-2); filter: var(--glow); }
.tab[aria-pressed="true"] { background: var(--brand-2); color: var(--on-brand); }
.tab[aria-pressed="true"] .nav-ico { stroke: var(--on-brand); filter: none; }
.sort-box { position: relative; flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.sort-box:hover { border-color: #2F4157; }
.sort-box:hover .nav-ico { stroke: var(--brand-2); filter: var(--glow); }
.sort-box select { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0 22px 0 0; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; }
.sort-box select option { background: var(--surface); }
.sort-box .chev { position: absolute; right: 12px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; container: cards / inline-size; }
.empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.terms { font-size: .82rem; margin-top: 18px; }

/* casino card */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.card:hover, .card:focus-within { border-color: #2F4157; }
.card.is-top { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.card-band { display: none; align-items: center; gap: 6px; padding: 18px 24px 0; color: var(--brand-text); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.card-band .i { color: var(--brand-text); width: 14px; height: 14px; }
.card.is-top .card-band { display: flex; }
.card-body { display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.15fr) 232px; grid-template-areas: "media id bonus actions"; gap: 24px; align-items: center; padding: 20px 24px; }
.card.is-top .card-body { padding-top: 14px; }
.card-media { grid-area: media; position: relative; }
.rank { position: absolute; top: -8px; left: -8px; z-index: 1; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: .8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.card.is-top .rank { background: var(--brand-2); border-color: var(--brand-2); color: var(--on-brand); }
.tile { display: grid; place-items: center; width: 132px; height: 88px; padding: 10px; border-radius: 12px; background: var(--c); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.1; text-align: center; text-decoration: none; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.card-id { grid-area: id; min-width: 0; display: grid; gap: 8px; justify-items: start; }
.card-id h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.card-id h3 a { text-decoration: none; }
.card:hover .card-id h3 a { color: var(--brand-text); }
.rating-chip { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; white-space: nowrap; }
.rating-chip .i { color: var(--gold); width: 16px; height: 16px; }
.rating-chip b { color: var(--ink); }
.card-highlights { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-highlights li { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .78rem; line-height: 1.5; white-space: nowrap; }
.card-bonus { grid-area: bonus; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.bonus-label { font-size: .78rem; color: var(--muted); }
.card-bonus strong { font-size: 1.4rem; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.spins { font-weight: 700; color: var(--brand-text); font-size: .95rem; }
.terms-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.terms-row > div + div { border-left: 1px solid var(--line); }
.terms-row dt { font-size: .72rem; color: var(--muted); }
.terms-row dd { margin: 1px 0 0; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.card-actions { grid-area: actions; display: grid; gap: 8px; }.code { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 10px; border: 1px dashed var(--line); background: transparent; border-radius: var(--r-ctl); cursor: pointer; font-size: .85rem; }
.code:hover { border-color: var(--muted); }
.code span { color: var(--muted); }
.code b { letter-spacing: .04em; }
.code .i { width: 16px; height: 16px; color: var(--muted); }
.code em { position: absolute; inset: -1px; display: grid; place-items: center; border-radius: var(--r-ctl); background: var(--ink); color: var(--bg); font-style: normal; font-weight: 600; }
.code em[hidden] { display: none; }
.more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 4px; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: .92rem; cursor: pointer; }
.more:hover { color: var(--ink); }
.more .i-plus { transition: transform .2s; }
.more[aria-expanded="true"] .i-plus { transform: rotate(45deg); }
.card-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.card-more.open { grid-template-rows: 1fr; }
.card-more-inner { min-height: 0; overflow: hidden; padding: 0 24px; }
.card-more-inner > :first-child { margin-top: 4px; }
.card-more-inner > :last-child { margin-bottom: 22px; }
.card-more .facts-table { margin-bottom: 20px; }
.card-more .pros-cons { margin-bottom: 14px; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; padding: 10px 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot-links { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; }
.foot-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-link .i { width: 16px; height: 16px; transition: transform .15s; }
.foot-link:hover { color: var(--brand-text); }
.foot-link:hover .i { transform: translateX(3px); }
.card-foot .more { min-height: 32px; font-size: .82rem; }
.foot-tools { display: flex; align-items: center; gap: 18px; flex: none; }
.save-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .82rem; }
.save-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.save-btn:hover { color: var(--ink); }
.cmp { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.cmp input { width: 16px; height: 16px; accent-color: var(--brand); }

/* The card adapts to the width of the list it sits in, not the viewport. */
@container cards (max-width: 980px) {
  .card-body { grid-template-columns: 112px minmax(0, 1fr) 220px; grid-template-areas: "media id actions" "bonus bonus bonus"; gap: 16px 20px; }
  .tile { width: 112px; height: 76px; }
  .terms-row { grid-auto-columns: auto; justify-content: center; gap: 0; }
  .terms-row > div { padding: 0 18px; }
  .card-bonus { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 12px; }
  .card-bonus .bonus-label { width: 100%; }
  .terms-row { width: auto; margin: 0; padding: 0; border-top: 0; flex-basis: 100%; margin-top: 8px; display: flex; justify-content: center; }
}
@container cards (max-width: 640px) {
  .card-body { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "media id" "bonus bonus" "actions actions"; padding: 16px; gap: 14px; }
  .tile { width: 88px; height: 64px; font-size: .9rem; border-radius: 10px; }
  .card-id h3 { font-size: 1.08rem; }
  .card-highlights li:nth-child(n+3) { display: none; }
  .terms-row > div { padding: 0 12px; }
  .card-foot { padding: 6px 16px 8px; row-gap: 0; }
  .foot-links { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .foot-link, .card-foot .more { white-space: nowrap; font-size: .78rem; }
  .foot-tools { width: 100%; justify-content: space-between; }
  .card-more-inner { padding: 0 16px; }
}@container cards (max-width: 520px) {
  .card-more .facts-table { grid-template-columns: 1fr 1fr; }
  .card-more .pros-cons { grid-template-columns: 1fr; gap: 16px; }
}

/* recent */
.recent { padding: 24px 0; }
.recent h2 { font-size: 1.25rem; }
.recent-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.recent-list a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .9rem; }
.recent-list a:hover { border-color: var(--muted); }
.recent-list .logo { width: 32px; height: 32px; border-radius: 7px; font-size: .7rem; }

/* how we rate */
.how { padding: 64px 0 24px; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 20px; }
.how-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
.how-grid h3 { font-size: 1.05rem; }
.how-grid p { color: var(--muted); font-size: .93rem; margin: 0; }

/* telegram */
.telegram { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-block: 48px; padding: 28px 0; border-block: 1px solid var(--line); }
.telegram h2 { margin-bottom: .2em; font-size: 1.25rem; }
.telegram p { margin: 0; color: var(--muted); }

/* faq */
.faq { padding: 24px 0 72px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); max-width: 66ch; }

/* shared detail blocks */
.facts-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 36px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts-table > div { background: var(--surface); padding: 14px 18px; }
.card-more .facts-table > div { background: var(--surface-2); }
.facts-table dt { font-size: .8rem; color: var(--muted); }
.facts-table dd { margin: 2px 0 0; font-weight: 700; }
.facts-table > div:last-child { grid-column: span 2; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.pros-cons h2 { font-size: 1.35rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pros li::before { content: "+"; color: var(--good); font-weight: 800; margin-right: 10px; }
.cons li::before { content: "−"; color: var(--bad); font-weight: 800; margin-right: 10px; }

/* review page */
.review { padding: 36px 0 120px; max-width: 960px; }
.back { display: inline-block; margin-bottom: 28px; }
.review-head { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start; }
.review-head .logo { width: 88px; height: 88px; border-radius: 16px; font-size: 1.6rem; }
.review-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .2em; }
.review-head .lead { margin-top: 12px; }
.review-offer { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; margin: 32px 0; padding: 24px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.review-offer > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.review-offer strong { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.review-offer-actions { display: flex; gap: 10px; align-items: center; }
.review-offer .small { grid-column: 1 / -1; margin: 0; }
.similar h2 { font-size: 1.4rem; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); font-size: .9rem; }

/* prose pages */
.prose { max-width: 720px; padding: 56px 0 88px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose p { color: var(--muted); }
.prose section { scroll-margin-top: 130px; }
.rules { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.rules li { position: relative; padding-left: 28px; color: var(--ink); line-height: 1.5; }
.rules li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-text); }
.toc { margin: 24px 0 8px; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); display: grid; gap: 6px; font-size: .95rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.center { text-align: center; }
.age { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; font-weight: 800; font-size: .85rem; flex: none; }
.age.big { width: 72px; height: 72px; font-size: 1.25rem; color: var(--brand-text); }

/* footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 44px 0 110px; font-size: .9rem; }
.footer-inner { display: grid; gap: 16px; }
.rg { display: flex; gap: 14px; align-items: center; }
.rg p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }

/* compare */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); color: #fff; padding: 12px 0; }
.tray-inner { display: flex; align-items: center; gap: 12px; }
.tray-inner span { margin-right: auto; font-weight: 700; }
.compare-tray .btn { font-size: 1rem; }
.compare-tray .btn-primary { background: var(--ink); color: var(--bg); }
.compare-tray .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.modal { border: 1px solid var(--line); padding: 26px; border-radius: 16px; background: var(--surface); color: var(--ink); width: min(880px, 100% - 32px); max-height: 85vh; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.modal::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-head h2 { margin: 0; }
.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare-table th, .compare-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.compare-table thead th { font-size: 1.1rem; font-weight: 800; font-stretch: 90%; }
.compare-table tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.compare-table .best { color: var(--good); font-weight: 800; }
.age-modal { width: min(460px, 100% - 32px); text-align: center; padding: 32px 28px; }
.age-modal h2 { font-size: 1.7rem; }
.age-modal p { color: var(--muted); }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }
.age-denied { color: var(--bad) !important; font-weight: 700; }

/* responsive */
@media (max-width: 1140px) { .how-grid { grid-template-columns: 1fr 1fr; } .cat-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .hero { padding-top: 16px; }
  /* phones/tablets: picture on top (characters side), text below in the same card */
  .hero-card { display: block; min-height: 0; }
  .hero-img { position: relative; inset: auto; z-index: 0; display: block; height: auto; aspect-ratio: 16 / 9; max-height: 300px; object-position: center 20%; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
  .hero-card::before { display: none; }
  .hero-copy { z-index: 2; max-width: none; margin-top: -22px; padding: 0 18px 18px; }
  .hero h1 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .hero .lead { font-size: .92rem; }
  .hero .trust { display: none; }
  .header-inner { gap: 12px; height: 58px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .facts-table { grid-template-columns: 1fr 1fr; }
  .telegram { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .how-grid, .pros-cons { grid-template-columns: 1fr; }
  .review-head { grid-template-columns: 64px 1fr; gap: 16px; }
  .review-head .logo { width: 64px; height: 64px; border-radius: 12px; font-size: 1.2rem; }
  .review-offer { grid-template-columns: 1fr; }
  .review-offer-actions .btn { flex: 1; }
  .sticky-cta { display: flex; }
  .controls { flex-direction: column; align-items: stretch; }
  .sort-box { min-height: 46px; }
  .brand-logo { height: 22px; }
  .header-inner { gap: 8px; }
  .saved-link { flex: none; width: 40px; }
  .lang { padding: 3px; }
  .lang a { width: 32px; height: 28px; }
  .flag { width: 20px; height: 14px; }
  .news-grid { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: 1fr; }
  .cat-nav .wrap { width: 100%; padding-inline: 8px; }
  .tray-inner { flex-wrap: wrap; }
  .tray-inner span { width: 100%; }
  .tray-inner .btn { flex: 1; }
}

/* ---- sack button + "open the sack" popup ---- */
.sack-fab { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: grid; place-items: center; width: 68px; height: 68px; padding: 0; border-radius: 50%; border: 2px solid var(--brand-2); background: radial-gradient(circle at 50% 40%, #1B2C42, var(--bg)); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7), 0 0 0 6px rgba(43, 217, 130, .12), 0 0 24px rgba(43, 217, 130, .35); cursor: pointer; transition: transform .2s; }
.sack-fab img { width: 40px; height: auto; animation: sack-wiggle 4s ease-in-out infinite; transform-origin: 50% 90%; }
.sack-fab:hover { transform: scale(1.07); }
.sack-fab:hover img { animation-duration: .8s; }
@keyframes sack-wiggle { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-10deg); } 87% { transform: rotate(9deg); } 92% { transform: rotate(-5deg); } 96% { transform: rotate(3deg); } }
.sack-hint { position: absolute; right: 78px; top: 50%; transform: translateY(-50%); padding: 6px 12px; border-radius: 999px; background: var(--brand-2); color: var(--on-brand); font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); animation: hint-bob 2.4s ease-in-out infinite; }
.sack-hint::after { content: ""; position: absolute; right: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-right: 0; border-left-color: var(--brand-2); }
@keyframes hint-bob { 50% { transform: translate(-4px, -50%); } }
.sack-seen .sack-hint { display: none; }

.sack-modal { width: min(420px, 100% - 24px); max-height: calc(100dvh - 24px); text-align: center; padding: 28px 24px 22px; overflow-x: hidden; overflow-y: auto; }
.sack-modal h2 { font-size: 1.5rem; margin-bottom: .2em; }
.sack-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; z-index: 3; }
.sack-stage { position: relative; height: 270px; margin: 4px 0 14px; display: grid; place-items: center; cursor: pointer; transition: height .5s ease; }
.sack-modal.is-open .sack-stage { height: 150px; cursor: default; }
.sack-big { position: relative; z-index: 1; width: 220px; height: auto; overflow: visible; transition: width .5s ease; }
.sack-modal.is-open .sack-big { width: 130px; }
.sack-big g, .sack-big path { transform-box: fill-box; }
.sack-whole { transform-origin: 50% 100%; animation: sack-breathe 2.6s ease-in-out infinite; }
@keyframes sack-breathe { 50% { transform: scale(1.025, .985); } }

/* 1. wobble that gets stronger */
.sack-stage.is-shaking .sack-whole { animation: sack-shake 1.5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes sack-shake {
  0% { transform: rotate(0); }
  10% { transform: rotate(-3deg); } 20% { transform: rotate(3deg); }
  30% { transform: rotate(-5deg) translateY(-2px); } 40% { transform: rotate(5deg); }
  50% { transform: rotate(-8deg) translateY(-6px); } 58% { transform: rotate(8deg); }
  66% { transform: rotate(-11deg) translateY(-10px); } 74% { transform: rotate(11deg); }
  82% { transform: rotate(-13deg) translateY(-14px) scale(1.03); } 90% { transform: rotate(12deg) scale(1.05, .95); }
  100% { transform: rotate(0) scale(1.08, .9); }
}

/* 2. tie flies off, mouth opens wide, the sack bounces, light + coins burst out */
.sack-tie { transform-origin: 50% 50%; transition: transform .7s cubic-bezier(.2, .7, .3, 1), opacity .7s; }
.sack-stage.is-open .sack-tie { transform: translate(260px, -320px) rotate(140deg) scale(.6); opacity: 0; }
.sack-mouth { transform-origin: 50% 50%; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.sack-stage.is-open .sack-mouth { transform: scale(1.25, 2.6); }
.sack-stage.is-open .sack-whole { animation: sack-pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes sack-pop { 0% { transform: scale(1.08, .9); } 45% { transform: scale(.94, 1.08) translateY(-6px); } 100% { transform: none; } }
.sack-glow, .sack-rays { position: absolute; left: 50%; top: 58px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.2); }
.sack-glow { width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(255, 214, 90, .95), rgba(245, 179, 1, .45) 35%, rgba(43, 217, 130, .18) 65%, transparent); }
.sack-rays { width: 380px; height: 380px; background: repeating-conic-gradient(from 0deg, rgba(245, 179, 1, .22) 0 6deg, transparent 6deg 22deg); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.sack-stage.is-open .sack-glow { animation: glow-burst 1.1s ease-out forwards; }
.sack-stage.is-open .sack-rays { animation: rays-spin 6s linear infinite, rays-in .6s ease-out forwards; }
@keyframes glow-burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); } }
@keyframes rays-in { to { opacity: 1; } }
@keyframes rays-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.sack-modal.is-open .sack-glow, .sack-modal.is-open .sack-rays { top: 40px; }
.sack-coins { position: absolute; left: 50%; top: 58px; z-index: 2; width: 0; height: 0; pointer-events: none; }
.sack-coins span { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE27A, #F5B301 55%, #C98F00); box-shadow: inset 0 0 0 2px rgba(201, 143, 0, .9), 0 2px 6px rgba(0, 0, 0, .4); opacity: 0; }
.sack-stage.is-open .sack-coins span { animation: coin-burst 1.3s cubic-bezier(.2, .6, .35, 1) var(--d) forwards; }
@keyframes coin-burst {
  0% { opacity: 0; transform: translate(0, 10px) scale(.3) rotateY(0); }
  12% { opacity: 1; }
  55% { transform: translate(var(--x), calc(var(--h) * -1)) scale(1) rotateY(540deg); opacity: 1; }
  100% { transform: translate(calc(var(--x) * 1.25), calc(var(--h) * -.35)) scale(.85) rotateY(900deg); opacity: 0; }
}

/* optional drawn open sack: swaps in for the vector one as it opens */
.sack-open-img { position: absolute; left: 50%; top: 50%; z-index: 1; width: 218px; height: auto; transform: translate(-50%, -50%) scale(.7); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1), width .5s ease; }
.sack-stage.is-open .sack-open-img { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: .12s; }
.sack-modal.is-open .sack-open-img { width: 124px; }
.sack-stage:has(.sack-open-img).is-open .sack-big { opacity: 0; transition: opacity .2s ease .1s, width .5s ease; }

/* 3. the offer pops up */
.sack-result { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2px; margin: 0 0 12px; padding: 18px 16px 16px; border-radius: 14px; background: var(--bg); border: 1px solid color-mix(in srgb, var(--brand) 60%, var(--line)); box-shadow: 0 0 40px -10px rgba(43, 217, 130, .45); animation: result-pop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.sack-result[hidden] { display: none; }
.sack-result-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-text); font-weight: 700; }
.sack-result strong { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.sack-result-casino { margin-top: 4px; font-size: .95rem; color: var(--muted); font-weight: 600; }
.sack-result-code { font-size: .85rem; color: var(--muted); }
.sack-result-code b { color: var(--ink); letter-spacing: .04em; }
.sack-result-actions { display: grid; gap: 8px; width: 100%; margin-top: 12px; }
@keyframes result-pop { from { opacity: 0; transform: translateY(30px) scale(.6); } }
.sack-go { width: 100%; font-size: 1.1rem; }
.sack-go[hidden] { display: none; }
.sack-go:disabled { opacity: .6; cursor: wait; }
.sack-note { margin: 12px 0 0; font-size: .75rem; color: var(--muted); }
@media (max-width: 640px) {
  .sack-fab { right: 14px; bottom: 84px; width: 60px; height: 60px; }
  .sack-fab img { width: 34px; }
}
/* ---- help page + homepage teaser ---- */
.help { padding: 32px 0 72px; max-width: 980px; }
.help h2 { font-size: 1.35rem; margin: 40px 0 16px; }
.help-head { padding: 32px; border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, rgba(43, 217, 130, .12), transparent 55%), var(--surface); border: 1px solid var(--line); }
.help-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 14px 0 .35em; }
.help-head .lead { max-width: 62ch; }
.help-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); flex: none; }
.help-badge .nav-ico { width: 28px; height: 28px; stroke: var(--brand-2); filter: var(--glow); }
.help-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.help-cta .btn { gap: 10px; }
.help-cta .nav-ico { width: 20px; height: 20px; stroke: currentColor; }
.help-cta .btn-cta .nav-ico { filter: none; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help-item { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.help-item:hover { border-color: #2F4157; }
.help-item .nav-ico { width: 26px; height: 26px; margin-bottom: 10px; }
.help-item:hover .nav-ico { stroke: var(--brand-2); filter: var(--glow); }
.help-item h3 { font-size: 1rem; margin-bottom: 4px; }
.help-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.help-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help-steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.help-steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-2); color: var(--on-brand); font-weight: 800; }
.help-steps h3 { font-size: 1rem; margin-bottom: 4px; }
.help-steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.help-box { margin-top: 40px; padding: 4px 24px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.help-box h2 { margin-top: 20px; }
.help-warn { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(242, 107, 107, .1); border: 1px solid rgba(242, 107, 107, .35); color: #F5B4B4; font-size: .92rem; }
.help-warn .nav-ico { width: 20px; height: 20px; stroke: var(--bad); margin-top: 1px; }
.help-cta-end { margin-top: 28px; }
.help-note { margin-top: 16px; }
.help-note a { color: var(--brand-text); }
.help-teaser { display: flex; align-items: center; gap: 18px; margin-top: 48px; padding: 22px 24px; border-radius: 16px; background: radial-gradient(120% 160% at 100% 50%, rgba(43, 217, 130, .1), transparent 60%), var(--surface); border: 1px solid var(--line); }
.help-teaser h2 { font-size: 1.2rem; margin-bottom: .2em; }
.help-teaser p { margin: 0; color: var(--muted); font-size: .92rem; }
.help-teaser > div { flex: 1; min-width: 0; }
.help-teaser .btn { flex: none; }
.help-teaser + .telegram { margin-top: 24px; }
@media (max-width: 860px) {
  .help-grid { grid-template-columns: 1fr 1fr; }
  .help-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .help-head { padding: 22px 18px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-cta .btn { flex: 1 1 100%; }
  .help-teaser { flex-wrap: wrap; padding: 18px; }
  .help-teaser .btn { width: 100%; }
}
/* ---- crypto wallets page ---- */
.wallets { padding-top: 8px; }
.wallet-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.wallet-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.wallet-card:hover { border-color: #2F4157; }
.wallet-top { display: flex; align-items: center; gap: 14px; }
.wallet-top h3 { margin: 0 0 2px; font-size: 1.1rem; }
.wallet-tile { width: 72px; height: 52px; padding: 6px; font-size: .78rem; border-radius: 10px; flex: none; }
.wallet-type { font-size: .82rem; color: var(--brand-text); font-weight: 600; }
.wallet-facts { display: grid; gap: 6px; margin: 0; font-size: .85rem; }
.wallet-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
.wallet-facts dt { color: var(--muted); }
.wallet-facts dd { margin: 0; font-weight: 600; }
.wallet-card .btn { margin-top: auto; }
.wallets + .help { padding-top: 0; }
.wallets + .help h2:first-child { margin-top: 28px; }
/* ---- bonus code reminder popup ---- */
.code-modal { width: min(420px, 100% - 24px); text-align: center; padding: 30px 24px 22px; }
.code-modal .help-badge { margin: 0 auto 12px; }
.code-modal h2 { font-size: 1.4rem; margin-bottom: .3em; }
.code-modal > .muted { margin: 0 auto 18px; max-width: 34ch; }
.code-big { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 64px; margin-bottom: 14px; border: 2px dashed var(--brand-2); border-radius: 12px; background: var(--brand-soft); color: var(--ink); cursor: pointer; transition: background .15s; }
.code-big:hover { background: #164034; }
.code-big b { font-size: 1.6rem; letter-spacing: .12em; }
.code-big .i { width: 22px; height: 22px; color: var(--brand-text); }
.code-big em { position: absolute; inset: -2px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-2); color: var(--on-brand); font-style: normal; font-weight: 700; }
.code-big em[hidden] { display: none; }
.code-go { width: 100%; }
.code-skip { display: inline-block; margin-top: 12px; font-size: .85rem; }
/* very small phones (≤360px): make the header fit; "Saved" is still in the ☰ menu */
@media (max-width: 360px) {
  .header-inner > .saved-link { display: none; }
  .brand-logo { height: 20px; }
  .lang a { width: 30px; }
}