/* =====================================================================
   esther-eda.co — styles.css
   Editorial / tech dark theme · mobile-first
   Palette: ink navy · graphite slate · azure-cyan · indigo · lime CTA
   ===================================================================== */

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

/* ------------------------------ TOKENS ------------------------------ */
:root {
    /* surfaces */
    --bg: #080d16;
    --bg-deep: #05090f;
    --surface: #0e1522;
    --surface-2: #131d2e;
    --surface-3: #182437;
    --pill: #14203100;

    /* text */
    --text: #e9eef7;
    --text-strong: #ffffff;
    --muted: #8d9cb5;
    --muted-2: #64758f;

    /* lines & shadows */
    --border: #1e2b40;
    --border-soft: #17222f;
    --border-strong: #2b3d59;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 30px -14px rgba(0, 0, 0, .8);
    --shadow-lift: 0 18px 40px -18px rgba(3, 8, 18, .95);

    /* accents */
    --accent: #4fc3e8;          /* azure cyan */
    --accent-soft: #9adcf2;
    --accent-2: #7c6cf0;        /* indigo / deep purple */
    --accent-2-soft: #b3a8ff;
    --teal: #3fd0b6;
    --cta: #b6e854;             /* restrained lime */
    --cta-ink: #10230a;

    /* tints */
    --tint-accent: rgba(79, 195, 232, .12);
    --tint-accent-2: rgba(124, 108, 240, .14);
    --tint-cta: rgba(182, 232, 84, .14);

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

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

    /* radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* metrics */
    --nav-w: 244px;
    --gutter: 16px;
}

/* ------------------------------ RESET ------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scrollbar-color: var(--border-strong) var(--bg);
}

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 620px at 88% -12%, rgba(124, 108, 240, .16), transparent 62%),
        radial-gradient(760px 480px at -8% 4%, rgba(79, 195, 232, .10), transparent 60%),
        linear-gradient(180deg, #0a1120 0%, var(--bg) 34%, 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: "kern" 1, "liga" 1, "cv05" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button { background: none; border: none; cursor: pointer; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

ul, ol { list-style-position: outside; }

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 32px 0;
}

::selection {
    background: rgba(79, 195, 232, .3);
    color: #fff;
}

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

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

h1 {
    font-size: clamp(1.18rem, 1.02rem + 1.1vw, 1.85rem); /* ~19px → ~30px */
    line-height: 1.34;
    font-weight: 700;
    letter-spacing: -.018em;
    max-width: 26ch;
    margin-bottom: .6em;
}

h2 {
    font-size: clamp(1.06rem, .98rem + .5vw, 1.35rem);
    margin-bottom: .55em;
}

h3 {
    font-size: clamp(1rem, .95rem + .3vw, 1.13rem);
    margin-bottom: .5em;
}

h4, h5, h6 {
    font-size: .95rem;
    letter-spacing: .01em;
    margin-bottom: .45em;
}

p {
    max-width: var(--measure);
    margin-bottom: 1.05em;
    overflow-wrap: break-word;
}

p:last-child { margin-bottom: 0; }

strong, b { color: var(--text-strong); font-weight: 600; }

small { font-size: .82em; color: var(--muted); }

/* body links (inside content) */
.content-block a,
.bonus-card p a,
article a {
    color: var(--accent-soft);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    text-decoration-color: rgba(154, 220, 242, .38);
}

.content-block a:hover,
article a:hover {
    color: var(--cta);
    text-decoration-color: var(--cta);
}

/* lists */
.content-block ul,
.content-block ol,
article ul,
article ol {
    max-width: var(--measure);
    margin: 0 0 1.15em;
    padding-left: 1.25em;
    color: var(--muted);
}

.content-block li,
article li { margin-bottom: .5em; }

.content-block ul li::marker { color: var(--accent); }
.content-block ol li::marker { color: var(--accent-2-soft); font-variant-numeric: tabular-nums; }

/* quotes */
blockquote {
    max-width: var(--measure);
    margin: 1.6em 0;
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    background: linear-gradient(90deg, var(--tint-accent), rgba(19, 29, 46, 0));
    color: var(--text);
    font-size: 1.02em;
    line-height: 1.65;
}

blockquote cite,
blockquote footer {
    display: block;
    margin-top: .7em;
    font-size: .82em;
    font-style: normal;
    color: var(--muted-2);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* code */
code, kbd, samp {
    font-family: var(--font-mono);
    font-size: .88em;
}

:not(pre) > code {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    padding: .12em .4em;
    color: var(--accent-soft);
}

pre {
    max-width: 100%;
    overflow-x: auto;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    margin: 0 0 1.3em;
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

pre code {
    background: none;
    border: 0;
    padding: 0;
    color: #cfe3f5;
}

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4em;
    font-size: .93em;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

th, td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}

th {
    background: var(--surface-2);
    color: var(--text-strong);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .84em;
    letter-spacing: .07em;
    text-transform: uppercase;
}

td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
tbody tr:hover td { background: var(--tint-accent); color: var(--text); }

/* --------------------------- LAYOUT SHELL --------------------------- */
.site-layout {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}

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

/* ------------------------------ SIDEBAR ----------------------------- */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 280px);
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: linear-gradient(180deg, #0d1524 0%, #0a111d 60%, #080e18 100%);
    border-right: 1px solid var(--border);
    box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .9);
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.side-nav.open { transform: translateX(0); }

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

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

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

.side-close-btn:hover {
    color: #fff;
    border-color: var(--border-strong);
    background: var(--surface-3);
}

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

.side-menu::-webkit-scrollbar { width: 6px; }
.side-menu::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

.side-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--muted);
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .005em;
    border: 1px solid transparent;
}

.side-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 0;
    background: var(--accent);
    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: 42%; }

.side-menu-item.active {
    color: var(--text-strong);
    background: linear-gradient(90deg, var(--tint-accent), rgba(19, 29, 46, .45));
    border-color: var(--border);
}

.side-menu-item.active::before {
    height: 58%;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

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

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

.lang-selector:hover {
    color: var(--text-strong);
    border-color: var(--border-strong);
    background: var(--surface-3);
}

.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 15, .72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1050;
}

.menu-backdrop.active { display: block; }

/* ------------------------------ HEADER ------------------------------ */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px var(--gutter);
    background: rgba(9, 15, 25, .86);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    transition: .18s ease;
}

.burger-btn:hover { border-color: var(--accent); background: var(--surface-2); }

.burger-btn span {
    width: 17px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 9px 16px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 195, 232, .14);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    min-width: 0;
    color: var(--text);
    font-size: 13.5px;
}

.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: 10px 18px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .16s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.btn-cc-primary {
    background: linear-gradient(135deg, var(--cta), #8fd94a);
    color: var(--cta-ink);
    box-shadow: 0 8px 22px -10px rgba(182, 232, 84, .7);
}

.btn-cc-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -10px rgba(182, 232, 84, .8);
    filter: saturate(1.06);
}

.btn-cc-primary:active { transform: translateY(0); }

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

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

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-head);
    color: var(--accent);
    letter-spacing: .01em;
}

.btn-link::after {
    content: "→";
    transition: transform .18s ease;
}

.btn-link:hover { color: var(--cta); }
.btn-link:hover::after { transform: translateX(3px); }

/* ---------------------------- PAGE CONTENT -------------------------- */
.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 22px var(--gutter) 44px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* ------------------------- CATEGORY SLIDER -------------------------- */
.category-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-slider::-webkit-scrollbar { height: 4px; }
.category-slider::-webkit-scrollbar-track { background: transparent; }
.category-slider::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

.category-badge {
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .015em;
    white-space: nowrap;
    color: var(--muted);
    transition: .18s ease;
}

.category-badge:hover {
    color: var(--text-strong);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.category-badge.active {
    color: #041420;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    border-color: transparent;
    box-shadow: 0 8px 20px -12px rgba(79, 195, 232, .9);
}

.search-badge {
    border-radius: 50%;
    padding: 8px 12px;
    color: var(--accent);
}

/* --------------------------- SECTION HEADER ------------------------- */
.section-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    padding-left: 16px;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

.section-row-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 195, 232, .14);
    transform: rotate(45deg);
}

.section-badge-title {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -.008em;
    color: var(--text-strong);
}

.link-all {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .02em;
}

.link-all:hover {
    color: var(--accent);
}

/* ----------------------------- GAMES GRID --------------------------- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 10px;
}

.game-item {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease, filter .3s ease;
}

.game-item:hover,
.game-item:focus-within {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lift), 0 0 0 1px rgba(79, 195, 232, .25);
}

.game-item:hover img { transform: scale(1.05); }

/* ---------------------------- PROVIDERS ----------------------------- */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.provider-pill {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, 0)),
        var(--surface);
    border: 1px solid var(--border);
    padding: 16px 12px;
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    transition: .2s ease;
}

.provider-pill:hover {
    background: var(--surface-2);
    border-color: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -20px rgba(124, 108, 240, .9);
}

.provider-pill strong {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-strong);
}

.provider-pill span {
    font-size: 11px;
    color: var(--muted-2);
    letter-spacing: .04em;
}

/* ------------------------------ STATS ------------------------------- */
.stats-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px 16px;
    border-radius: var(--r-md);
    text-align: center;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 195, 232, .55), transparent);
}

.stat-icon {
    font-size: 22px;
    line-height: 1;
    filter: saturate(.9);
}

.stat-number {
    font-family: var(--font-head);
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 8px 0 4px;
    color: var(--accent-soft);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-2);
    font-weight: 600;
}

/* --------------------------- CONTENT BLOCK -------------------------- */
.content-block {
    background: linear-gradient(180deg, var(--surface), rgba(14, 21, 34, .55));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow);
}

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

.content-block h2 {
    font-size: clamp(1.04rem, .98rem + .45vw, 1.28rem);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}

.content-block h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
}

.content-block h3 {
    margin-top: 26px;
    color: var(--accent-soft);
}

.content-block p {
    color: var(--muted);
    line-height: 1.78;
    font-size: 1rem;
}

.content-block h1 + p,
.content-block h2 + p { margin-top: 0; }

/* ----------------------------- BONUSES ------------------------------ */
.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background:
        radial-gradient(320px 140px at 100% 0%, rgba(124, 108, 240, .16), transparent 70%),
        var(--surface);
    border: 1px solid var(--border);
    padding: 22px 20px;
    border-radius: var(--r-lg);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bonus-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.bonus-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--tint-accent-2);
    border: 1px solid rgba(124, 108, 240, .3);
    padding: 4px 9px;
    border-radius: var(--r-xs);
    color: var(--accent-2-soft);
    margin-bottom: 12px;
}

.bonus-amount {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--text-strong);
    margin: 0 0 8px;
}

.bonus-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 16px;
}

/* ------------------------------ FOOTER ------------------------------ */
.site-footer {
    margin-top: auto;
    background: linear-gradient(180deg, rgba(10, 16, 27, .6), var(--bg-deep));
    border-top: 1px solid var(--border);
    padding: 32px var(--gutter) 26px;
}

.footer-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 26px;
}

.footer-top-row h4,
.footer-top-row h3 {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 12px;
}

.providers-text-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 22px;
}

.provider-bubble {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    padding: 5px 12px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted-2);
    transition: .18s ease;
}

.provider-bubble:hover {
    color: var(--accent);
    border-color: var(--border-strong);
}

.support-box h4 {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 15px;
    border-radius: var(--r-sm);
    font-size: 12.5px;
    color: var(--text);
    margin: 0 8px 8px 0;
}

.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: 9px;
    padding: 0;
}

.footer-links-list a {
    color: var(--muted);
    font-size: 13px;
}

.footer-links-list a:hover {
    color: var(--accent);
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid var(--border-soft);
    padding-top: 18px;
    font-size: 11.5px;
    line-height: 1.7;
    color: var(--muted-2);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    background: var(--tint-cta);
    border: 1px solid rgba(182, 232, 84, .35);
    padding: 3px 10px;
    border-radius: var(--r-xs);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--cta);
}

/* ============================ BREAKPOINTS =========================== */

/* ---- ≥ 480px ---- */
@media (min-width: 480px) {
    :root {
        --gutter: 20px;
        --fs-base: 15.5px;
    }

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

/* ---- ≥ 768px ---- */
@media (min-width: 768px) {
    :root {
        --gutter: 28px;
        --fs-base: 16px;
    }

    .page-content { gap: 44px; padding-top: 28px; padding-bottom: 56px; }
    .top-header { padding: 13px var(--gutter); }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
    .providers-grid { grid-template-columns: repeat(4, 1fr); }
    .bonuses-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .content-block { padding: 32px 30px; }
    .section-badge-title { font-size: 1.1rem; }

    .footer-top-row {
        grid-template-columns: 1.9fr 1fr;
        gap: 44px;
    }

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

/* ---- ≥ 1024px : sidebar becomes static ---- */
@media (min-width: 1024px) {
    :root { --gutter: 36px; }

    .side-nav {
        position: sticky;
        top: 0;
        left: auto;
        width: var(--nav-w);
        height: 100vh;
        height: 100dvh;
        transform: none;
        box-shadow: none;
        transition: none;
    }

    .side-close-btn,
    .burger-btn { display: none; }

    .menu-backdrop,
    .menu-backdrop.active { display: none; }

    .top-header { padding: 14px var(--gutter); gap: 24px; }
    .top-header-left { gap: 16px; }
    .top-header-right { gap: 10px; }

    .page-content { padding: 32px var(--gutter) 64px; gap: 52px; }

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

    .content-block { padding: 38px 40px; }
    .site-footer { padding: 44px var(--gutter) 30px; }
}

/* ---- ≥ 1400px ---- */
@media (min-width: 1400px) {
    :root { --nav-w: 260px; }
    .page-content { max-width: 1400px; }
}

/* -------------------------- 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-primary:hover { transform: none; }
}

/* ----------------------------- PRINT -------------------------------- */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    .side-nav,
    .top-header,
    .menu-backdrop,
    .category-slider,
    .site-footer { display: none !important; }

    .content-block {
        border: 0;
        box-shadow: none;
        background: none;
        padding: 0;
    }

    .content-block p,
    td { color: #222; }
}