/* =========================================================
   simts.co — editorial / tech dark theme
   mobile-first · css variables · accessible contrast
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ---------------------------------------------------------
   1. tokens
--------------------------------------------------------- */
:root {
    /* base surfaces — deep ink-navy with a faint indigo drift */
    --bg:            #070c17;
    --bg-deep:       #04070f;
    --surface:       #0d1422;
    --surface-2:     #131d30;
    --surface-3:     #1a2740;
    --overlay:       rgba(6, 11, 22, .78);

    /* text */
    --text:          #e8eefb;
    --text-strong:   #ffffff;
    --muted:         #93a3c0;
    --muted-2:       #6d7d9b;

    /* lines */
    --border:        #1d2b45;
    --border-soft:   #16223a;
    --border-strong: #2a3d5e;

    /* accents */
    --accent:        #46c2f0;   /* azure */
    --accent-soft:   #9adcf7;
    --accent-2:      #8a7cf3;   /* indigo / deep purple */
    --accent-3:      #3ddbc0;   /* teal */
    --cta:           #a6e86a;   /* restrained lime */
    --cta-ink:       #10240a;

    /* effects */
    --shadow-sm: 0 1px 2px rgba(2, 6, 14, .6);
    --shadow:    0 10px 28px -14px rgba(2, 6, 14, .95);
    --shadow-lg: 0 26px 60px -28px rgba(2, 6, 14, 1);
    --glow-accent: 0 0 0 1px rgba(70, 194, 240, .35), 0 12px 30px -16px rgba(70, 194, 240, .55);
    --glow-cta:    0 10px 26px -12px rgba(166, 232, 106, .55);

    --grad-cool:  linear-gradient(135deg, rgba(70, 194, 240, .18), rgba(138, 124, 243, .16));
    --grad-line:  linear-gradient(90deg, var(--accent), var(--accent-2));

    /* type */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-head: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --fs-base: 15px;
    --lh-base: 1.65;
    --measure: 72ch;

    /* geometry */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --pad-x: 16px;
    --gap: 20px;

    --shell: 1320px;
    --nav-w: 250px;
}

/* ---------------------------------------------------------
   2. minimal reset
--------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    tab-size: 4;
}

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 480px at 12% -8%, rgba(138, 124, 243, .14), transparent 62%),
        radial-gradient(760px 420px at 92% 4%, rgba(70, 194, 240, .12), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    font-feature-settings: "cv05", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100%;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
input, button, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

a {
    color: var(--accent-soft);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
a:hover { color: var(--text-strong); }

::selection { background: rgba(70, 194, 240, .3); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 9px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #38507a; }

/* ---------------------------------------------------------
   3. typography
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text-strong);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.2rem, 1.02rem + 1.15vw, 2rem);  /* ~19px → 32px */
    line-height: 1.32;
    letter-spacing: -0.015em;
    font-weight: 700;
    max-width: 30ch;
}

h2 {
    font-size: clamp(1.05rem, .97rem + .55vw, 1.4rem);
    line-height: 1.35;
    margin-top: .2em;
}

h3 {
    font-size: clamp(.98rem, .94rem + .3vw, 1.15rem);
    color: var(--text);
}

h4, h5, h6 {
    font-size: .95rem;
    text-transform: none;
    color: var(--text);
}

p { overflow-wrap: break-word; }

p, ul, ol, dl, table, pre, blockquote, figure { margin-bottom: 1.05em; }
p:last-child, ul:last-child, ol:last-child, table:last-child,
pre:last-child, blockquote:last-child { margin-bottom: 0; }

small { font-size: .8rem; color: var(--muted); }
strong, b { color: var(--text-strong); font-weight: 600; }
em { color: var(--accent-soft); font-style: italic; }
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 2rem 0;
}

/* ---------------------------------------------------------
   4. layout shell
--------------------------------------------------------- */
.site-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: stretch;
}

.site-main-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

/* ---------------------------------------------------------
   5. side navigation (off-canvas on mobile)
--------------------------------------------------------- */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 288px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0c1524 0%, #080e1a 100%);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(-102%);
    transition: transform .3s cubic-bezier(.4, .0, .2, 1);
    z-index: 1100;
    flex-shrink: 0;
    overscroll-behavior: contain;
}
.side-nav.open { transform: translateX(0); }

.side-nav-brand {
    padding: 18px var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
    min-height: 68px;
}

.logo-img { height: 34px; width: auto; }

.side-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 1;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: .2s;
}
.side-close-btn:hover { color: #fff; border-color: var(--border-strong); background: var(--surface-2); }

.side-menu {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--muted);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .875rem;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.side-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 0;
    background: var(--grad-line);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height .2s ease;
}
.side-menu-item:hover {
    color: var(--text-strong);
    background: var(--surface-2);
    border-color: var(--border-soft);
}
.side-menu-item:hover::before { height: 55%; }
.side-menu-item.active {
    color: var(--text-strong);
    background: linear-gradient(90deg, rgba(70, 194, 240, .14), rgba(138, 124, 243, .06));
    border-color: rgba(70, 194, 240, .28);
}
.side-menu-item.active::before { height: 60%; }

.side-footer-lang {
    padding: 14px;
    border-top: 1px solid var(--border-soft);
}

.lang-selector {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .82rem;
    color: var(--muted);
    cursor: pointer;
    transition: .2s;
}
.lang-selector:hover {
    color: var(--text-strong);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1050;
}
.menu-backdrop.active { display: block; }

/* ---------------------------------------------------------
   6. top header
--------------------------------------------------------- */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px var(--pad-x);
    background: rgba(8, 13, 24, .86);
    backdrop-filter: saturate(150%) blur(12px);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.burger-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: .2s;
}
.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: background .2s;
}
.burger-btn:hover { border-color: var(--accent); }
.burger-btn:hover span { background: var(--accent); }

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.search-box:focus-within {
    border-color: rgba(70, 194, 240, .55);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px rgba(70, 194, 240, .12);
}

.search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    margin-left: 2px;
    font-size: .85rem;
}
.search-input::placeholder { color: var(--muted-2); }

.top-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* buttons */
.btn-cc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .015em;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn-cc:active { transform: translateY(1px); }

.btn-cc-primary {
    background: var(--cta);
    color: var(--cta-ink);
    box-shadow: var(--glow-cta);
}
.btn-cc-primary:hover {
    background: #b7f07f;
    color: var(--cta-ink);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -12px rgba(166, 232, 106, .65);
}

.btn-cc-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}
.btn-cc-secondary:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--text-strong);
}

/* ---------------------------------------------------------
   7. page content
--------------------------------------------------------- */
.page-content {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding: 22px var(--pad-x) 44px;
    display: flex;
    flex-direction: column;
    gap: 34px;
}

/* category slider */
.category-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.category-slider::-webkit-scrollbar { height: 3px; }
.category-slider::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.category-badge {
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    color: var(--muted);
    transition: .2s;
}
.category-badge:hover {
    color: var(--text-strong);
    border-color: var(--border-strong);
    background: var(--surface-2);
}
.category-badge.active {
    color: #04121c;
    background: linear-gradient(135deg, var(--accent), #6fd6f5);
    border-color: transparent;
    box-shadow: 0 10px 24px -14px rgba(70, 194, 240, .9);
}
.search-badge {
    border-radius: 50%;
    padding: 8px 11px;
    line-height: 1;
}

/* section headers */
.section-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-left: 14px;
    position: relative;
}
.section-row-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    bottom: .2em;
    width: 3px;
    border-radius: 3px;
    background: var(--grad-line);
}

.section-badge-title {
    font-family: var(--font-head);
    font-size: clamp(1rem, .94rem + .35vw, 1.25rem);
    font-weight: 600;
    color: var(--text-strong);
    letter-spacing: -.01em;
}

.link-all {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    border-bottom: 1px solid transparent;
}
.link-all:hover {
    color: var(--accent-soft);
    border-bottom-color: rgba(70, 194, 240, .5);
}

/* ---------------------------------------------------------
   8. grids / cards
--------------------------------------------------------- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 10px;
}

.game-item {
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .3s ease;
}
.game-item:hover {
    transform: translateY(-4px);
    border-color: rgba(70, 194, 240, .55);
    box-shadow: var(--glow-accent);
}
.game-item:hover img { transform: scale(1.05); }

/* providers */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.provider-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    padding: 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.provider-pill:hover {
    background: var(--surface-2);
    border-color: rgba(61, 219, 192, .45);
    transform: translateY(-2px);
}
.provider-pill strong {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-strong);
}
.provider-pill span {
    font-size: .7rem;
    color: var(--muted-2);
    letter-spacing: .03em;
}

/* stats */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.stat-card {
    position: relative;
    padding: 18px 14px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: var(--grad-line);
    opacity: .55;
}
.stat-icon { font-size: 22px; line-height: 1; }
.stat-number {
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem);
    font-weight: 700;
    color: var(--accent-soft);
    margin: 6px 0 4px;
    letter-spacing: -.02em;
}
.stat-label {
    font-size: .65rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}

/* ---------------------------------------------------------
   9. editorial content block
--------------------------------------------------------- */
.content-block {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow);
}

.content-block > * + * { margin-top: 1.05em; }

.content-block h1,
.content-block h2,
.content-block h3,
.content-block h4 {
    max-width: var(--measure);
}
.content-block h1 { margin-bottom: .5em; }
.content-block h2 {
    margin-top: 1.7em;
    margin-bottom: .55em;
    padding-bottom: .4em;
    border-bottom: 1px solid var(--border-soft);
}
.content-block h3 {
    margin-top: 1.4em;
    margin-bottom: .4em;
    color: var(--accent-soft);
}
.content-block > :first-child { margin-top: 0; }

.content-block p,
.content-block li {
    color: var(--muted);
    line-height: 1.75;
    max-width: var(--measure);
}
.content-block p { margin-bottom: 1.05em; }

.content-block a {
    color: var(--accent-soft);
    border-bottom: 1px solid rgba(70, 194, 240, .35);
}
.content-block a:hover {
    color: var(--text-strong);
    border-bottom-color: var(--accent);
}

/* lists */
.content-block ul,
.content-block ol {
    max-width: var(--measure);
    padding-left: 1.15em;
    margin-bottom: 1.15em;
}
.content-block ul { list-style: none; padding-left: 0; }
.content-block ul li {
    position: relative;
    padding-left: 1.35em;
    margin-bottom: .5em;
}
.content-block ul li::before {
    content: "";
    position: absolute;
    left: .1em;
    top: .68em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}
.content-block ol { list-style: decimal; }
.content-block ol li { margin-bottom: .5em; padding-left: .3em; }
.content-block ol li::marker { color: var(--accent-2); font-weight: 700; }

/* quotes */
blockquote {
    position: relative;
    margin: 1.6em 0;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(138, 124, 243, .1), rgba(70, 194, 240, .05));
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1rem;
}
blockquote p { color: var(--text) !important; }
blockquote cite {
    display: block;
    margin-top: .6em;
    font-size: .8rem;
    color: var(--muted-2);
    font-style: normal;
}

/* code */
code, kbd, samp {
    font-family: var(--font-mono);
    font-size: .85em;
}
:not(pre) > code {
    background: var(--surface-3);
    border: 1px solid var(--border);
    color: var(--accent-3);
    padding: .12em .42em;
    border-radius: var(--radius-xs);
    word-break: break-word;
}
pre {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}
pre code {
    background: none;
    border: 0;
    padding: 0;
    color: #cfe3ff;
}

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
thead th {
    background: var(--surface-3);
    color: var(--text-strong);
    font-family: var(--font-head);
    font-weight: 600;
    text-align: left;
    font-size: .72rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-strong);
}
tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--muted);
    vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .015); }
tbody tr:hover { background: rgba(70, 194, 240, .06); }

/* ---------------------------------------------------------
   10. bonuses
--------------------------------------------------------- */
.bonuses-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.bonus-card {
    position: relative;
    padding: 20px 18px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bonus-card::before {
    content: "";
    position: absolute;
    inset: -40% 55% 40% -30%;
    background: var(--grad-cool);
    filter: blur(40px);
    opacity: .7;
    pointer-events: none;
}
.bonus-card > * { position: relative; }
.bonus-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.bonus-tag {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(138, 124, 243, .14);
    border: 1px solid rgba(138, 124, 243, .32);
    color: #bdb2ff;
    padding: 4px 9px;
    border-radius: var(--radius-xs);
    margin-bottom: 10px;
}
.bonus-amount {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-strong);
    margin: 4px 0 6px;
    letter-spacing: -.01em;
}
.bonus-desc {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.6;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--cta);
}
.btn-link::after {
    content: "→";
    transition: transform .2s ease;
}
.btn-link:hover { color: #c6f39a; }
.btn-link:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------
   11. footer
--------------------------------------------------------- */
.site-footer {
    margin-top: auto;
    padding: 34px var(--pad-x) 26px;
    background: linear-gradient(180deg, rgba(10, 16, 28, .6), rgba(4, 7, 15, .95));
    border-top: 1px solid var(--border-soft);
}

.footer-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 26px;
    max-width: var(--shell);
    margin-inline: auto;
}

.footer-top-row h4,
.footer-top-row h3 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted-2);
    font-weight: 600;
}

.providers-text-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 22px;
}
.provider-bubble {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    padding: 6px 13px;
    font-size: .68rem;
    color: var(--muted-2);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: .2s;
}
.provider-bubble:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.support-box h4 { margin-bottom: 12px; }
.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 8px 8px 0;
    transition: .2s;
}
.support-link:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    color: var(--text-strong);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links-list a {
    color: var(--muted);
    font-size: .82rem;
}
.footer-links-list a:hover { color: var(--accent-soft); }

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: var(--shell);
    margin-inline: auto;
    border-top: 1px solid var(--border-soft);
    padding-top: 18px;
    font-size: .75rem;
    color: var(--muted-2);
    line-height: 1.6;
}
.age-badge {
    display: inline-block;
    background: rgba(255, 92, 92, .12);
    border: 1px solid rgba(255, 92, 92, .35);
    color: #ff9c9c;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    letter-spacing: .04em;
}

/* ---------------------------------------------------------
   12. breakpoints
--------------------------------------------------------- */
@media (min-width: 480px) {
    :root { --pad-x: 20px; }

    .games-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
    .providers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .content-block { padding: 26px 22px; }
    .footer-bottom-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }
}

@media (min-width: 768px) {
    :root {
        --fs-base: 16px;
        --pad-x: 28px;
    }

    .page-content { padding: 30px var(--pad-x) 60px; gap: 42px; }
    .top-header { padding: 13px var(--pad-x); }

    .games-grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 14px; }
    .providers-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bonuses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

    .content-block { padding: 34px 32px; }

    .site-footer { padding: 46px var(--pad-x) 30px; }
    .footer-top-row { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 44px; }

    table { display: table; white-space: normal; }
}

@media (min-width: 1024px) {
    :root { --pad-x: 34px; }

    .side-nav {
        position: sticky;
        top: 0;
        height: 100vh;
        height: 100dvh;
        width: var(--nav-w);
        transform: none;
        box-shadow: none;
        transition: none;
    }
    .side-close-btn,
    .burger-btn,
    .menu-backdrop,
    .menu-backdrop.active { display: none !important; }

    .top-header-left { gap: 16px; }

    .page-content { padding: 36px var(--pad-x) 72px; gap: 48px; }

    .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    .providers-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .bonuses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .content-block { padding: 40px 40px; }
}

@media (min-width: 1280px) {
    :root { --nav-w: 264px; --pad-x: 44px; }
    .providers-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(162px, 1fr)); }
}

/* ---------------------------------------------------------
   13. preferences
--------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .game-item:hover,
    .bonus-card:hover,
    .provider-pill:hover,
    .btn-cc:hover { transform: none; }
}

@media (prefers-contrast: more) {
    :root {
        --muted: #c2cee3;
        --border: #3a4f75;
        --border-soft: #2c3e60;
    }
}

@media print {
    body { background: #fff; color: #000; }
    .side-nav, .top-header, .menu-backdrop, .site-footer, .category-slider { display: none !important; }
    .content-block { border: 0; box-shadow: none; padding: 0; }
    .content-block p, .content-block li { color: #000; }
}