/* =========================================================
   salo-tour.com.ua — styles.css
   Dark editorial / tech theme · mobile-first
   Palette: ink-navy base · slate surfaces · azure + indigo
            accents · soft 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');

/* ---------- 1. Design tokens ---------- */
:root {
    /* base surfaces */
    --bg:            #080b14;
    --bg-deep:       #05070e;
    --surface:       #0e1320;
    --surface-2:     #141b2c;
    --surface-3:     #1b2439;
    --surface-glass: rgba(20, 27, 44, 0.72);

    /* text */
    --text:          #e8edf7;
    --text-strong:   #ffffff;
    --muted:         #8f9bb5;
    --muted-2:       #6b7793;

    /* lines */
    --border:        #1e2740;
    --border-soft:   #182136;
    --border-strong: #2a3757;

    /* accents */
    --accent:        #45c2f0;   /* azure  */
    --accent-2:      #7d7bf5;   /* indigo */
    --accent-3:      #2ed3c0;   /* teal   */
    --cta:           #b8f24a;   /* soft lime */
    --cta-ink:       #10240a;

    /* tints */
    --accent-tint:   rgba(69, 194, 240, 0.12);
    --accent2-tint:  rgba(125, 123, 245, 0.14);
    --cta-tint:      rgba(184, 242, 74, 0.14);

    /* effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 10px 30px -12px rgba(0,0,0,.75);
    --shadow-lg: 0 24px 60px -24px rgba(0,0,0,.85);
    --glow:      0 0 0 1px rgba(69,194,240,.28), 0 14px 40px -18px rgba(69,194,240,.45);

    /* radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* legacy aliases (safety for old declarations) */
    --bg-dark: var(--bg);
    --bg-sidebar: var(--surface);
    --bg-header: rgba(8, 11, 20, .82);
    --bg-card: var(--surface);
    --bg-card-hover: var(--surface-2);
    --bg-pill: var(--surface-2);
    --bg-pill-hover: var(--surface-3);
    --text-main: var(--text);
    --text-muted: var(--muted);
    --border-color: var(--border);

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

    --step-0: 0.9375rem;   /* 15px body */
    --lh: 1.7;

    /* spacing */
    --gap: 14px;
    --pad-x: 16px;
    --reading: 72ch;
}

/* ---------- 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 {
    min-height: 100%;
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: var(--lh);
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 620px at 12% -8%, rgba(125,123,245,.16), transparent 62%),
        radial-gradient(900px 540px at 96% 4%, rgba(69,194,240,.12), transparent 60%),
        linear-gradient(180deg, #0a0e1a 0%, var(--bg) 46%, var(--bg-deep) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    margin: 28px 0;
}

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

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: var(--radius-pill);
    border: 3px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #3a4a72; background-clip: padding-box; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-strong);
    line-height: 1.28;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.19rem, 1.02rem + 0.85vw, 1.95rem); /* ~19px → ~31px */
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -0.015em;
    max-width: 34ch;
    margin-bottom: .6em;
}

h2 {
    font-size: clamp(1.06rem, 0.98rem + 0.42vw, 1.4rem);
    font-weight: 700;
    margin-bottom: .5em;
}

h3 {
    font-size: clamp(1rem, 0.95rem + 0.26vw, 1.16rem);
    font-weight: 600;
    margin-bottom: .45em;
}

h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: .4em; }
h5, h6 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: var(--muted);
}

p { margin-bottom: 1.05em; max-width: var(--reading); }
p:last-child { margin-bottom: 0; }

small { font-size: .8125rem; color: var(--muted); }
strong, b { color: var(--text-strong); font-weight: 600; }
em, i { color: #cdd7ea; }
mark { background: var(--cta-tint); color: var(--text-strong); padding: 0 .25em; border-radius: 4px; }
abbr[title] { text-decoration: underline dotted; cursor: help; }

/* links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color .18s ease, opacity .18s ease;
}
a:hover { color: #8ddcff; }

/* editorial links inside prose */
.content-block a:not(.btn-cc):not(.btn-link),
.bonus-card a:not(.btn-cc):not(.btn-link) {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding-bottom: 1px;
}
.content-block a:not(.btn-cc):not(.btn-link):hover { background-size: 100% 2px; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* prose lists */
.content-block ul, .content-block ol,
.bonus-card ul, .bonus-card ol {
    max-width: var(--reading);
    margin: 0 0 1.1em;
    padding-left: 1.35em;
    color: var(--muted);
}
.content-block ol { list-style: decimal; }
.content-block ul { list-style: none; padding-left: 1.1em; }
.content-block ul > li { position: relative; padding-left: .35em; }
.content-block ul > li::before {
    content: "";
    position: absolute;
    left: -0.85em;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}
.content-block li, .bonus-card li { margin-bottom: .5em; }
.content-block li::marker { color: var(--accent-2); font-weight: 700; }

/* quotes */
blockquote {
    margin: 1.4em 0;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-tint), transparent 70%);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: #d6dfef;
    font-size: 1.02em;
}
blockquote p { margin-bottom: .6em; }
blockquote cite { display: block; font-size: .82em; color: var(--muted); font-style: normal; }

/* code */
code, kbd, samp, pre { font-family: var(--font-mono); font-size: .88em; }
:not(pre) > code {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--accent-3);
    padding: .12em .42em;
    border-radius: 6px;
    overflow-wrap: anywhere;
}
pre {
    background: linear-gradient(180deg, #0c1120, #0a0e1a);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    overflow-x: auto;
    margin: 0 0 1.2em;
    box-shadow: var(--shadow-sm);
    line-height: 1.6;
}
pre code { background: none; border: 0; color: #cfe4f5; padding: 0; }
kbd {
    background: var(--surface-3);
    border: 1px solid var(--border-strong);
    border-bottom-width: 2px;
    border-radius: 6px;
    padding: .1em .45em;
    font-size: .8em;
}

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.3em;
    font-size: .92em;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
caption { caption-side: bottom; padding-top: 10px; font-size: .8rem; color: var(--muted-2); text-align: left; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); }
thead th {
    background: var(--surface-2);
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--border-strong);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(69,194,240,.05); }

/* forms */
input[type="text"], input[type="search"], input[type="email"], textarea, select {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text);
    width: 100%;
    transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-tint);
}

/* ---------- 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. Sidebar (off-canvas on mobile) ---------- */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 288px);
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: linear-gradient(185deg, #0f1526 0%, #0a0f1c 60%, #080b14 100%);
    border-right: 1px solid var(--border);
    box-shadow: 26px 0 60px -34px rgba(0,0,0,.95);
    transform: translateX(-104%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.side-nav.open { transform: translateX(0); }

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

.logo-img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(69,194,240,.28));
}

.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-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: color .18s ease, background .18s ease;
}
.side-close-btn:hover { color: #fff; background: var(--surface-3); }

.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;
    border-radius: 10px;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .01em;
    transition: color .18s ease, background .18s ease;
}
.side-menu-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    transition: height .2s ease;
}
.side-menu-item:hover {
    color: var(--text-strong);
    background: var(--surface-2);
}
.side-menu-item:hover::before { height: 55%; }
.side-menu-item.active {
    color: var(--text-strong);
    background: linear-gradient(90deg, var(--accent-tint), transparent 80%);
}
.side-menu-item.active::before { height: 62%; }

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

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

/* ---------- 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(9, 13, 22, .86);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

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

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    transition: border-color .18s ease, background .18s ease;
}
.burger-btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.burger-btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}
.burger-btn span:nth-child(2) { width: 13px; background: var(--accent); }

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

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

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

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

.btn-cc-primary {
    background: linear-gradient(135deg, var(--cta), #8fdf3c);
    color: var(--cta-ink);
    box-shadow: 0 10px 26px -12px rgba(184,242,74,.6);
}
.btn-cc-primary:hover {
    color: var(--cta-ink);
    box-shadow: 0 14px 34px -12px rgba(184,242,74,.75);
    transform: translateY(-1px);
}

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

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--accent);
}
.btn-link::after {
    content: "→";
    transition: transform .18s ease;
}
.btn-link:hover::after { transform: translateX(3px); }

/* ---------- 8. Page content ---------- */
.page-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 22px var(--pad-x) 44px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

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

.category-badge {
    scroll-snap-align: start;
    flex: 0 0 auto;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.category-badge:hover {
    color: var(--text-strong);
    background: var(--surface-2);
    border-color: var(--border-strong);
}
.category-badge.active {
    color: #04121c;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    border-color: transparent;
    box-shadow: 0 8px 22px -12px rgba(69,194,240,.9);
}
.search-badge {
    padding: 8px 12px;
    border-radius: 50%;
    color: var(--accent);
}

/* section headers */
.section-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding-left: 16px;
    position: relative;
}
.section-row-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.section-badge-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: -.01em;
}

.link-all {
    flex: 0 0 auto;
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
}
.link-all:hover { color: var(--accent); }

/* ---------- 9. Grids: games ---------- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
}
.game-item {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    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 .3s ease, filter .3s ease;
}
.game-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--glow);
}
.game-item:hover img { transform: scale(1.05); filter: saturate(1.08); }

/* ---------- 10. 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: 18px 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.provider-pill:hover {
    transform: translateY(-2px);
    background: var(--surface-2);
    border-color: var(--accent-3);
}
.provider-pill strong {
    font-family: var(--font-display);
    font-size: .84rem;
    color: var(--text-strong);
}
.provider-pill span { font-size: .72rem; color: var(--muted-2); }

/* ---------- 11. Stats ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 18px 14px;
    text-align: center;
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: .45;
}
.stat-icon { font-size: 22px; line-height: 1; opacity: .9; }
.stat-number {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 6px 0 2px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-2);
    font-weight: 600;
}

/* ---------- 12. Content block (editorial) ---------- */
.content-block {
    padding: 22px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.content-block > * + * { margin-top: 0; }
.content-block h1,
.content-block h2,
.content-block h3 { margin-top: 1.4em; }
.content-block > h1:first-child,
.content-block > h2:first-child,
.content-block > h3:first-child { margin-top: 0; }

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

.content-block p,
.content-block li {
    color: #b6c1d6;
    line-height: 1.78;
}
.content-block img { border-radius: var(--radius-md); border: 1px solid var(--border); margin: 1em 0; }

/* ---------- 13. Bonuses ---------- */
.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.bonus-card {
    position: relative;
    padding: 20px 18px;
    background:
        radial-gradient(420px 180px at 100% 0%, var(--accent2-tint), transparent 70%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bonus-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}
.bonus-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 9px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-3);
    background: rgba(46,211,192,.1);
    border: 1px solid rgba(46,211,192,.28);
    border-radius: 6px;
}
.bonus-amount {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-strong);
    margin: 4px 0 6px;
}
.bonus-desc {
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.65;
}

/* ---------- 14. Footer ---------- */
.site-footer {
    margin-top: auto;
    padding: 30px var(--pad-x) 26px;
    background: linear-gradient(180deg, rgba(14,19,32,.6), var(--bg-deep));
    border-top: 1px solid var(--border);
}

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

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

.support-box h4 {
    font-family: var(--font-display);
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px 8px 0;
    padding: 10px 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .8rem;
    color: var(--text);
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.support-link:hover {
    color: var(--text-strong);
    background: var(--surface-2);
    border-color: var(--accent);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-links-list a {
    font-size: .84rem;
    color: var(--muted);
}
.footer-links-list a:hover { color: var(--accent); }

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    font-size: .76rem;
    color: var(--muted-2);
}
.age-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    font-weight: 700;
    color: var(--text-strong);
    letter-spacing: .04em;
}

/* ---------- 15. Backdrop ---------- */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(4, 6, 12, .74);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.menu-backdrop.active { display: block; }

/* =========================================================
   16. Breakpoints
   ========================================================= */

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

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

/* ---- ≥ 768px ---- */
@media (min-width: 768px) {
    :root { --pad-x: 28px; --step-0: 0.96rem; }

    .page-content { gap: 36px; padding-top: 28px; padding-bottom: 56px; }
    .top-header { padding: 13px var(--pad-x); gap: 18px; }
    .top-header-right { gap: 10px; }

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

    .content-block { padding: 32px 30px; }
    .section-badge-title { font-size: 1.15rem; }

    .footer-top-row { grid-template-columns: 1.9fr 1fr; gap: 40px; }
    .site-footer { padding: 40px var(--pad-x) 30px; }
    table { display: table; white-space: normal; }
}

/* ---- ≥ 1024px : static sidebar ---- */
@media (min-width: 1024px) {
    :root { --pad-x: 34px; }

    .side-nav {
        position: sticky;
        top: 0;
        transform: none;
        width: 246px;
        height: 100vh;
        height: 100dvh;
        box-shadow: none;
        transition: none;
    }
    .side-close-btn { display: none; }
    .burger-btn { display: none; }
    .menu-backdrop, .menu-backdrop.active { display: none; }

    .page-content { padding-left: var(--pad-x); padding-right: var(--pad-x); }
    .top-header-left { max-width: 480px; }

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

/* ---- ≥ 1280px ---- */
@media (min-width: 1280px) {
    .side-nav { width: 262px; }
    .providers-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .page-content { gap: 42px; }
    .content-block { padding: 38px 36px; }
}

/* ---------- 17. Motion & print ---------- */
@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;
    }
    .side-nav { transition: none; }
    .game-item:hover, .bonus-card:hover, .provider-pill:hover, .btn-cc-primary:hover { transform: none; }
}

@media print {
    body { background: #fff; color: #000; }
    .side-nav, .top-header, .menu-backdrop, .category-slider, .site-footer { display: none !important; }
    .content-block, .bonus-card, .stat-card { border: 1px solid #ccc; box-shadow: none; background: #fff; }
    a { color: #000; text-decoration: underline; }
}