/* ==========================================================================
   SVCAR — editorial / tech dark theme
   Palette: deep ink navy + graphite surfaces, azure/teal accents,
   indigo underglow, restrained lime CTA.
   Mobile-first. Only CSS — HTML untouched.
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* base surfaces */
    --bg:            #0a1017;
    --bg-deep:       #070c12;
    --surface:       #101a24;
    --surface-2:     #16222f;
    --surface-3:     #1d2c3c;
    --surface-glass: rgba(13, 21, 30, 0.82);

    /* text */
    --text:          #e8eff5;
    --text-soft:     #bccbd8;
    --muted:         #8496a6;
    --faint:         #66798a;

    /* lines */
    --border:        rgba(126, 176, 205, 0.14);
    --border-strong: rgba(96, 200, 220, 0.34);

    /* accents */
    --accent:        #52c9dd;   /* azure / teal */
    --accent-soft:   #8fe0ec;
    --accent-2:      #7d92ff;   /* indigo */
    --accent-3:      #b78bff;   /* deep purple hint */
    --cta:           #b9ef6a;   /* restrained lime */
    --cta-ink:       #0b1a06;

    /* status */
    --warn:          #f0c05a;
    --hot:           #ff8f7a;
    --ok:            #5fd6a4;

    /* gradients */
    --grad-line:   linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
    --grad-surface: linear-gradient(160deg, #142130 0%, #0e1822 100%);
    --grad-glow:   radial-gradient(60% 70% at 15% 0%, rgba(82,201,221,0.14) 0%, transparent 65%),
                   radial-gradient(55% 60% at 90% 10%, rgba(125,146,255,0.12) 0%, transparent 70%);

    /* shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow:    0 12px 30px -18px rgba(0,0,0,0.85);
    --shadow-lg: 0 28px 60px -28px rgba(0,0,0,0.9);
    --ring:      0 0 0 3px rgba(82, 201, 221, 0.35);

    /* radii */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-pill: 999px;

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

    --fs-base: 16px;
    --lh-base: 1.72;

    /* layout */
    --reading: 72ch;
    --shell: 1240px;
    --pad: 16px;
}

/* --------------------------------------------------------------------------
   2. Reset (minimal)
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--text-soft);
    background-color: var(--bg);
    background-image:
        var(--grad-glow),
        linear-gradient(180deg, #0b121a 0%, var(--bg) 40%, var(--bg-deep) 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding-left: 1.25em; }
hr {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}
::selection { background: rgba(82, 201, 221, 0.28); color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text);
    margin: 0 0 0.7em;
    font-weight: 600;
    letter-spacing: -0.015em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h1 {
    font-size: 20px;
    line-height: 1.34;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 34ch;
}

h2 {
    font-size: 18px;
    line-height: 1.38;
    margin-top: 1.9em;
}

h3 {
    font-size: 16.5px;
    line-height: 1.42;
    margin-top: 1.6em;
    color: var(--accent-soft);
}

h4 {
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: 0.005em;
}

h5, h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

p {
    margin: 0 0 1.15em;
    max-width: var(--reading);
    overflow-wrap: break-word;
}

strong, b { color: var(--text); font-weight: 600; }
em { color: var(--accent-soft); font-style: italic; }
small { font-size: 13px; color: var(--muted); }

a {
    color: var(--accent);
    text-decoration: none;
    text-decoration-color: rgba(82, 201, 221, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease;
}
a:hover { color: var(--accent-soft); text-decoration: underline; }
a:active { color: var(--accent-2); }

/* content lists */
.site-content ul,
.site-content ol,
.main-info-section ul,
.main-info-section ol {
    max-width: var(--reading);
    margin: 0 0 1.3em;
    padding-left: 1.15em;
}

.site-content li,
.main-info-section li { margin-bottom: 0.55em; }

.main-info-section ul { list-style: none; padding-left: 0; }
.main-info-section ul > li {
    position: relative;
    padding-left: 26px;
}
.main-info-section ul > li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(82, 201, 221, 0.12);
}
.main-info-section ol { padding-left: 1.35em; }
.main-info-section ol > li::marker {
    color: var(--accent-2);
    font-weight: 600;
}

blockquote {
    margin: 1.8em 0;
    padding: 18px 20px;
    max-width: var(--reading);
    background: linear-gradient(180deg, rgba(125,146,255,0.08), rgba(82,201,221,0.04));
    border-left: 3px solid var(--accent-2);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--text);
    font-size: 15.5px;
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); font-style: normal; }

code, kbd, samp {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: rgba(82, 201, 221, 0.09);
    border: 1px solid var(--border);
    color: var(--accent-soft);
    padding: 0.12em 0.42em;
    border-radius: var(--r-xs);
}

pre {
    margin: 1.6em 0;
    padding: 18px;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow-x: auto;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
pre code {
    background: none;
    border: 0;
    padding: 0;
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.7;
}

figure { margin: 1.8em 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------------------
   4. Layout shell
   -------------------------------------------------------------------------- */
.site-wrapper { position: relative; z-index: 1; overflow-x: clip; }

.full-width {
    width: 100%;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

.container-inner {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
}

.site-content { padding: 8px 0 48px; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border);
}

.site-header::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--grad-line);
    opacity: 0.45;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
}

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

.logo-link {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}
.logo-link:hover { opacity: 0.85; }

.header-logo-img {
    height: 28px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

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

/* burger */
.burger-menu {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger-menu span:nth-child(2) { background: var(--accent-2); width: 75%; }
.burger-menu:hover {
    border-color: var(--border-strong);
    background: rgba(82, 201, 221, 0.08);
}

/* off-canvas nav (mobile default) */
.main-nav {
    position: fixed;
    top: 0;
    left: -105%;
    width: 86%;
    max-width: 330px;
    height: 100%;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #101b26 0%, #0a1017 100%);
    border-right: 1px solid var(--border);
    box-shadow: 20px 0 60px -30px #000;
    transition: left 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.main-nav.open { left: 0; }

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(82,201,221,0.12), rgba(125,146,255,0.10));
}

.menu-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
}

.close-menu {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.04);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.close-menu:hover { background: rgba(82,201,221,0.16); color: var(--accent-soft); }

.nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
}

.main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-soft);
    border-left: 2px solid transparent;
    text-decoration: none;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(82, 201, 221, 0.10);
    border-left-color: var(--accent);
    color: var(--text);
    text-decoration: none;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1500;
    background: rgba(4, 8, 12, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.menu-overlay.active { display: block; opacity: 1; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: transform 0.16s ease, background-color 0.2s ease,
                border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-login {
    color: var(--accent-soft);
    border-color: var(--border-strong);
    background: rgba(82, 201, 221, 0.06);
}
.btn-login:hover {
    background: rgba(82, 201, 221, 0.14);
    color: #fff;
    border-color: var(--accent);
}

.btn-reg {
    background: var(--cta);
    color: var(--cta-ink);
    border-color: rgba(185, 239, 106, 0.6);
    box-shadow: 0 10px 24px -14px rgba(185, 239, 106, 0.9);
}
.btn-reg:hover {
    background: #c8f882;
    color: #08140a;
    box-shadow: 0 14px 28px -14px rgba(185, 239, 106, 0.95);
}

.btn-play {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #06131a;
    font-size: 13.5px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 18px 40px -20px rgba(82, 201, 221, 0.9);
}
.btn-play:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 22px 46px -20px rgba(125, 146, 255, 0.95);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid rgba(82, 201, 221, 0.3);
    padding-bottom: 2px;
    text-decoration: none;
}
.btn-link::after {
    content: "→";
    transition: transform 0.2s ease;
}
.btn-link:hover {
    color: var(--accent-soft);
    border-bottom-color: var(--accent-soft);
    text-decoration: none;
}
.btn-link:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 0 34px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-deep);
}

.hero-image-container {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-banner-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    filter: brightness(0.5) saturate(1.05) contrast(1.05);
}

.hero-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(7,12,18,0.35) 0%, rgba(7,12,18,0.85) 100%),
        radial-gradient(70% 90% at 20% 20%, rgba(125,146,255,0.22) 0%, transparent 70%);
}

.banner-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 48px 16px;
    text-align: left;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 10px;
    max-width: 24ch;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0 0 10px;
    max-width: 56ch;
}

.hero-meta {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
    background: rgba(82, 201, 221, 0.08);
    border: 1px solid var(--border);
    padding: 5px 11px;
    border-radius: var(--r-pill);
    margin: 0 0 22px;
}

/* --------------------------------------------------------------------------
   8. Section headers
   -------------------------------------------------------------------------- */
.section-header {
    margin: 0 0 22px;
    padding-left: 14px;
    border-left: 2px solid transparent;
    border-image: var(--grad-line) 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.section-desc {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    max-width: var(--reading);
}

/* --------------------------------------------------------------------------
   9. Stats
   -------------------------------------------------------------------------- */
.stats-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0 40px;
}

.stat-card {
    position: relative;
    padding: 20px 18px;
    background: var(--grad-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow);
    text-align: left;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-line);
    opacity: 0.55;
}
.stat-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    display: block;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 10px;
    filter: saturate(0.9);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-soft);
    margin: 0 0 6px;
}

.stat-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--faint);
}

/* --------------------------------------------------------------------------
   10. Info blocks (article body)
   -------------------------------------------------------------------------- */
.main-info-section {
    position: relative;
    margin: 28px 0;
    padding: 24px 18px;
    background: var(--surface);
    background-image: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 30%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.main-info-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-line);
    opacity: 0.7;
}

.main-info-section > *:first-child { margin-top: 0; }
.main-info-section > *:last-child { margin-bottom: 0; }

.main-info-section h1,
.main-info-section h2,
.main-info-section h3 { margin-top: 1.5em; }
.main-info-section h1:first-child,
.main-info-section h2:first-child,
.main-info-section h3:first-child { margin-top: 0; }

.main-info-section h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.main-info-section p { color: var(--text-soft); }

.main-info-section a {
    border-bottom: 1px solid rgba(82, 201, 221, 0.35);
    text-decoration: none;
}
.main-info-section a:hover {
    border-bottom-color: var(--accent-soft);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   11. Table of contents
   -------------------------------------------------------------------------- */
.toc-box {
    margin: 28px 0;
    padding: 20px 18px;
    background: linear-gradient(150deg, rgba(125,146,255,0.09) 0%, rgba(82,201,221,0.04) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.toc-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-links a {
    display: inline-block;
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    background: rgba(10, 16, 23, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.toc-links a:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: rgba(82, 201, 221, 0.12);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   12. Bonuses
   -------------------------------------------------------------------------- */
.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 28px 0 44px;
}

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    background: var(--grad-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bonus-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.bonus-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}
.bonus-card:hover::after { transform: scaleX(1); }

.bonus-card.highlight {
    border-color: rgba(185, 239, 106, 0.35);
    background:
        linear-gradient(160deg, rgba(185, 239, 106, 0.09) 0%, rgba(20, 33, 48, 0.9) 55%);
}
.bonus-card.highlight::after { background: linear-gradient(90deg, var(--cta), var(--accent)); }

.bonus-tag {
    align-self: flex-start;
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
    background: rgba(82, 201, 221, 0.12);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
}

.bonus-tag.highlight-tag {
    color: var(--cta);
    background: rgba(185, 239, 106, 0.12);
    border-color: rgba(185, 239, 106, 0.3);
}

.bonus-card h3 {
    margin: 0 0 6px;
    font-size: 16.5px;
    color: var(--text);
}

.bonus-amount {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--accent);
}

.bonus-desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    max-width: none;
}

.bonus-card .btn-link { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   13. Tables
   -------------------------------------------------------------------------- */
.table-section { margin: 40px 0; }

.table-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

caption {
    caption-side: top;
    text-align: left;
    padding: 14px 16px 0;
    color: var(--muted);
    font-size: 13px;
}

thead {
    background: linear-gradient(180deg, rgba(125,146,255,0.10), rgba(82,201,221,0.05));
}

th {
    padding: 14px 16px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent-soft);
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}

td {
    padding: 14px 16px;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

tbody tr { transition: background-color 0.18s ease; }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.014); }
tbody tr:hover { background: rgba(82, 201, 221, 0.07); }
tbody tr:last-child td { border-bottom: 0; }

tbody td:first-child {
    color: var(--text);
    font-weight: 600;
}

.volatility {
    display: inline-block;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    white-space: nowrap;
}
.volatility.high {
    color: var(--hot);
    background: rgba(255, 143, 122, 0.12);
    border-color: rgba(255, 143, 122, 0.28);
}
.volatility.medium {
    color: var(--warn);
    background: rgba(240, 192, 90, 0.12);
    border-color: rgba(240, 192, 90, 0.28);
}
.volatility.low {
    color: var(--ok);
    background: rgba(95, 214, 164, 0.12);
    border-color: rgba(95, 214, 164, 0.28);
}

/* --------------------------------------------------------------------------
   14. License / trust block
   -------------------------------------------------------------------------- */
.license-section {
    background:
        linear-gradient(160deg, rgba(125,146,255,0.08) 0%, rgba(16, 26, 36, 0.96) 60%);
}

.license-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.license-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
}
.license-item:last-child { border-bottom: 0; }

.license-icon {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1.3;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 201, 221, 0.09);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
}

.license-item h4 {
    margin: 0 0 5px;
    font-size: 14.5px;
    color: var(--text);
}

.license-item p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 56px;
    padding: 44px 0 20px;
    background: linear-gradient(180deg, rgba(7,12,18,0.5) 0%, var(--bg-deep) 100%);
    border-top: 1px solid var(--border);
    color: var(--text-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand { display: flex; flex-direction: column; max-width: 420px; }

.footer-logo-img {
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 16px;
}

.brand-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 52ch;
}

.brand-text strong {
    display: inline-block;
    margin-top: 12px;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.footer-menu-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.footer-col h4 {
    display: inline-block;
    margin: 0 0 14px;
    padding-bottom: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 2px solid var(--accent);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 9px; }

.footer-col a {
    display: inline-block;
    font-size: 13.5px;
    color: var(--muted) !important;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
    color: var(--accent-soft) !important;
    transform: translateX(3px);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--faint);
}

.footer-bottom p { margin: 0; max-width: none; }

.age-limit {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--cta);
    background: rgba(185, 239, 106, 0.10);
    border: 1px solid rgba(185, 239, 106, 0.32);
    border-radius: var(--r-pill);
}

/* --------------------------------------------------------------------------
   16. Breakpoint ~480px
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
    :root { --pad: 22px; }

    h1 { font-size: 22px; }
    h2 { font-size: 19px; }

    .hero-title { font-size: 23px; }
    .hero-subtitle { font-size: 16px; }
    .hero-image-container, .main-banner-img { min-height: 360px; }
    .banner-overlay { padding: 58px 22px; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .bonuses-grid { grid-template-columns: repeat(2, 1fr); }

    .main-info-section { padding: 28px 24px; }
    .toc-box { padding: 24px 22px; }

    .footer-menu-wrapper { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   17. Breakpoint ~768px
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    :root { --pad: 32px; }

    body { font-size: 16.5px; }

    h1 { font-size: 25px; }
    h2 { font-size: 21px; }
    h3 { font-size: 18px; }

    .site-content { padding: 16px 0 64px; }

    .header-flex { padding: 12px 0; }
    .header-logo-img { height: 32px; max-width: 190px; }
    .btn { padding: 11px 18px; font-size: 13px; }

    .hero-banner { margin-bottom: 48px; }
    .hero-image-container, .main-banner-img { min-height: 420px; }
    .banner-overlay { padding: 84px 32px; }
    .hero-title { font-size: 27px; }
    .hero-subtitle { font-size: 17px; }
    .btn-play { padding: 15px 34px; font-size: 14px; }

    .section-title { font-size: 21px; }
    .section-header { margin-bottom: 26px; padding-left: 18px; }

    .stats-bar { gap: 16px; margin: 36px 0 52px; }
    .stat-card { padding: 24px 22px; }
    .stat-number { font-size: 30px; }

    .main-info-section { padding: 36px 34px; margin: 36px 0; }
    .toc-box { padding: 28px; margin: 36px 0; }

    .bonuses-grid { gap: 18px; margin: 36px 0 56px; }
    .bonus-card { padding: 26px 24px; }

    .table-section { margin: 56px 0; }
    table { font-size: 14.5px; }
    th, td { padding: 16px 18px; }

    .license-content { grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
    .license-item { border-bottom: 0; padding: 16px 0; }

    .site-footer { margin-top: 72px; padding: 60px 0 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; }
    .footer-menu-wrapper { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* --------------------------------------------------------------------------
   18. Breakpoint ~1024px — desktop nav
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    :root { --pad: 40px; }

    h1 { font-size: 28px; }
    h2 { font-size: 22px; }

    .header-flex { padding: 14px 0; gap: 24px; }
    .header-left { gap: 32px; }

    .burger-menu,
    .mobile-nav-top,
    .menu-overlay { display: none !important; }

    .main-nav {
        position: static;
        left: auto;
        width: auto;
        max-width: none;
        height: auto;
        flex-direction: row;
        align-items: center;
        background: none;
        border: 0;
        box-shadow: none;
        overflow: visible;
        transition: none;
    }

    .nav-links-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 0;
    }

    .main-nav a {
        padding: 9px 14px;
        border-left: 0;
        border-radius: var(--r-pill);
        font-size: 14.5px;
        color: var(--text-soft);
    }
    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(82, 201, 221, 0.10);
        color: var(--accent-soft);
    }

    .hero-image-container, .main-banner-img { min-height: 480px; }
    .banner-overlay { padding: 104px 40px; }
    .hero-title { font-size: 30px; max-width: 22ch; }

    .section-title { font-size: 23px; }

    .stats-bar { grid-template-columns: repeat(4, 1fr); }
    .bonuses-grid { grid-template-columns: repeat(3, 1fr); }
    .license-content { grid-template-columns: repeat(3, 1fr); }

    .main-info-section { padding: 44px 44px; }
    table { min-width: 0; }

    .footer-grid {
        grid-template-columns: 1.1fr 2fr;
        gap: 56px;
        align-items: start;
    }
}

/* --------------------------------------------------------------------------
   19. Breakpoint ~1280px
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
    :root { --pad: 48px; }

    h1 { font-size: 31px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 24px; }
    .stat-number { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   20. Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .btn:hover,
    .stat-card:hover,
    .bonus-card:hover,
    .footer-col a:hover { transform: none; }
}

@media print {
    body {
        background: #fff;
        color: #111;
    }
    .site-header, .menu-overlay, .main-nav, .burger-menu, .hero-banner, .site-footer { display: none !important; }
    .main-info-section, .table-wrapper, .bonus-card {
        border: 1px solid #ccc;
        box-shadow: none;
        background: #fff;
    }
    a { color: #0b57d0; text-decoration: underline; }
}