/* ==========================================================================
   NEWSTROY — EDITORIAL / TECH DARK UI
   styles.css — повний рефактор (mobile-first)
   Палітра: deep ink navy + graphite surfaces + azure/teal accents
             + indigo підкладка + delicate lime CTA
   ========================================================================== */

@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 {
    /* Фон / поверхні */
    --bg:            #070c15;
    --bg-2:          #0a1120;
    --surface:       #0f172a;
    --surface-2:     #141f36;
    --surface-3:     #1b2942;
    --overlay:       rgba(6, 10, 18, .82);

    /* Текст */
    --text:          #e9eff8;
    --text-soft:     #c3cfe0;
    --muted:         #8b9ab3;
    --faint:         #63728c;

    /* Бордери */
    --border:        rgba(146, 178, 220, .14);
    --border-strong: rgba(120, 210, 230, .34);
    --border-soft:   rgba(146, 178, 220, .08);

    /* Акценти */
    --accent:        #4cc4e8;   /* azure / cyan */
    --accent-ink:    #1e93bb;
    --accent-2:      #7a8cf0;   /* indigo */
    --accent-3:      #45d5b4;   /* teal */
    --cta:           #a9e05e;   /* delicate lime */
    --cta-ink:       #0a1a08;
    --warn:          #f0c05a;
    --hot:           #f08a8a;

    /* Градієнти / патерни */
    --grad-line:     linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    --grad-rule:     linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
    --grad-surface:  linear-gradient(168deg, #101a2e 0%, #0c1424 100%);
    --grad-deep:     radial-gradient(1200px 620px at 12% -8%, rgba(84, 106, 220, .20) 0%, transparent 62%),
                     radial-gradient(900px 520px at 92% 6%, rgba(58, 190, 205, .14) 0%, transparent 58%);
    --grid-line:     rgba(146, 178, 220, .055);

    /* Тіні */
    --shadow-sm:     0 1px 2px rgba(2, 6, 14, .5);
    --shadow:        0 10px 28px -14px rgba(2, 6, 14, .85);
    --shadow-lg:     0 26px 60px -28px rgba(2, 6, 14, .95);
    --ring:          0 0 0 3px rgba(76, 196, 232, .32);

    /* Радіуси */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-pill: 999px;

    /* Типографіка */
    --f-ui:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --f-head: "Space Grotesk", "Inter", -apple-system, "Segoe UI", sans-serif;
    --f-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

    --fs-body: 16px;
    --lh-body: 1.72;
    --measure: 72ch;

    /* Ритм */
    --gap: 16px;
    --pad-x: 16px;
    --block: 40px;
}

/* --------------------------------------------------------------------------
   2. RESET (мінімальний)
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--f-ui);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--text-soft);
    background-color: var(--bg);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        var(--grad-deep);
    background-size: 64px 64px, 64px 64px, auto, auto;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100%;
}

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

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

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; }
p, ul, ol, dl, figure, pre, table, blockquote { margin: 0 0 1.15em; }
ul:last-child, ol:last-child, p:last-child { margin-bottom: 0; }

hr {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: var(--block) 0;
}

::selection { background: rgba(76, 196, 232, .28); color: #fff; }

/* --------------------------------------------------------------------------
   3. ТИПОГРАФІКА
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--f-head);
    color: var(--text);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.01em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    scroll-margin-top: 88px;
}

h1 {
    font-size: 20px;
    line-height: 1.34;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #fff;
    margin-bottom: .7em;
}

h2 {
    font-size: 18px;
    line-height: 1.36;
    margin-top: 1.6em;
}

h3 {
    font-size: 16.5px;
    line-height: 1.4;
    margin-top: 1.5em;
    color: var(--text);
}

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

h2:first-child, h3:first-child, h4:first-child { margin-top: 0; }

p { color: var(--text-soft); }

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

small { font-size: 13px; color: var(--muted); }

a {
    color: var(--accent);
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
a:hover { color: var(--accent-3); text-decoration: underline; }

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

/* Списки */
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .5em; }
li::marker { color: var(--accent); }
ul ul, ol ol, ul ol, ol ul { margin: .5em 0 .5em; }

/* Цитати */
blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 18px;
    border-left: 2px solid var(--accent);
    color: var(--text);
    font-size: 16.5px;
    font-style: normal;
    background: linear-gradient(90deg, rgba(76, 196, 232, .06), transparent 70%);
}
blockquote p { color: var(--text); }
blockquote cite {
    display: block;
    margin-top: .6em;
    font-size: 13px;
    font-style: normal;
    color: var(--muted);
    font-family: var(--f-mono);
}

/* Код */
code, kbd, samp, pre { font-family: var(--f-mono); font-size: .92em; }

code {
    background: rgba(122, 140, 240, .13);
    border: 1px solid var(--border-soft);
    color: #cfe6f5;
    padding: .12em .42em;
    border-radius: var(--r-xs);
}

pre {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent-2);
    border-radius: var(--r-md);
    padding: 16px;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}
pre code { background: none; border: 0; padding: 0; color: #d7e5f2; }

kbd {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: var(--r-xs);
    padding: .1em .4em;
}

mark { background: rgba(169, 224, 94, .22); color: var(--text); padding: 0 .2em; border-radius: 2px; }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.site-wrapper { position: relative; z-index: 1; }

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

.container-inner {
    max-width: 1240px;
    margin-inline: auto;
}

.site-content {
    padding-bottom: var(--block);
}

/* Комфортна ширина читання для текстових блоків */
.main-info-section > h1,
.main-info-section > h2,
.main-info-section > h3,
.main-info-section > h4,
.main-info-section > p,
.main-info-section > ul,
.main-info-section > ol,
.main-info-section > blockquote,
.section-desc,
.brand-text {
    max-width: var(--measure);
}

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

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

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

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

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

.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;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    order: -1;
}
.burger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.burger-menu:hover { border-color: var(--border-strong); }

/* Off-canvas nav (mobile) */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 86%;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(-102%);
    transition: transform .28s ease;
    z-index: 2001;
    overflow-y: auto;
}
.main-nav.open { transform: translateX(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(122, 140, 240, .18), rgba(76, 196, 232, .10));
}

.menu-title {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .18em;
    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);
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
}
.close-menu:hover { color: var(--accent); border-color: var(--border-strong); }

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

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

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(4, 8, 16, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

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

.btn-login {
    color: var(--text);
    background: transparent;
    border-color: var(--border);
}
.btn-login:hover {
    color: var(--accent);
    border-color: var(--border-strong);
    background: rgba(76, 196, 232, .08);
}

.btn-reg {
    color: var(--cta-ink);
    background: var(--cta);
    border-color: transparent;
    box-shadow: 0 6px 18px -10px rgba(169, 224, 94, .9);
}
.btn-reg:hover {
    background: #b9ea74;
    box-shadow: 0 10px 24px -10px rgba(169, 224, 94, .95);
}

.btn-play {
    color: var(--cta-ink);
    background: var(--cta);
    padding: 13px 26px;
    font-size: 13.5px;
    border-radius: var(--r-sm);
    box-shadow: 0 12px 30px -16px rgba(169, 224, 94, .95);
}
.btn-play:hover { background: #b9ea74; transform: translateY(-2px); }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid rgba(76, 196, 232, .35);
    padding-bottom: 2px;
}
.btn-link:hover {
    color: var(--accent-3);
    border-bottom-color: var(--accent-3);
    text-decoration: none;
}
.btn-link::after { content: "→"; font-family: var(--f-mono); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--block);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
}

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

.hero-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(7, 12, 21, .35) 0%, rgba(7, 12, 21, .88) 78%, var(--bg) 100%),
        linear-gradient(105deg, rgba(122, 140, 240, .22) 0%, transparent 60%);
}

.banner-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 44px var(--pad-x) 36px;
}

.hero-content {
    max-width: 68ch;
    margin-inline: auto;
    text-align: left;
}

.hero-title {
    font-family: var(--f-head);
    font-size: 21px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #fff;
    margin: 0 0 12px;
    overflow-wrap: break-word;
}
.hero-title::before {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: 16px;
    background: var(--grad-line);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-soft);
    margin: 0 0 12px;
    max-width: 60ch;
}

.hero-meta {
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 22px;
}

/* --------------------------------------------------------------------------
   8. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
    margin: var(--block) 0 20px;
    padding-left: 14px;
    border-left: 2px solid transparent;
    border-image: var(--grad-rule) 1;
}

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

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

/* --------------------------------------------------------------------------
   9. STATS
   -------------------------------------------------------------------------- */
.stats-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    margin: 28px 0 var(--block);
}

.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);
    transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.stat-card::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--grad-rule);
    opacity: .35;
    border-radius: var(--r-md) 0 0 var(--r-md);
    transition: opacity .2s ease;
}
.stat-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.stat-card:hover::after { opacity: 1; }

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

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

.stat-label {
    display: block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. INFO / ARTICLE BLOCK
   -------------------------------------------------------------------------- */
.main-info-section {
    position: relative;
    margin: var(--block) 0;
    padding: 24px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.main-info-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--grad-line);
    opacity: .8;
}

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

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

.license-section {
    background:
        linear-gradient(160deg, rgba(122, 140, 240, .10) 0%, rgba(69, 213, 180, .05) 100%),
        var(--surface);
}

/* --------------------------------------------------------------------------
   11. TOC
   -------------------------------------------------------------------------- */
.toc-box {
    margin: var(--block) 0;
    padding: 18px 16px;
    background: var(--bg-2);
    border: 1px dashed var(--border);
    border-radius: var(--r-lg);
}

.toc-title {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent-3);
    margin: 0 0 14px;
}

.toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.toc-links a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    text-decoration: none;
}
.toc-links a:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--surface-2);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   12. BONUS CARDS
   -------------------------------------------------------------------------- */
.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    margin: 28px 0 var(--block);
}

.bonus-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 18px;
    background: var(--grad-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    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-lg);
}

.bonus-card.highlight {
    border-color: rgba(169, 224, 94, .38);
    background:
        linear-gradient(168deg, rgba(169, 224, 94, .09) 0%, rgba(16, 26, 46, .9) 60%);
}
.bonus-card.highlight:hover { border-color: rgba(169, 224, 94, .6); }

.bonus-tag {
    align-self: flex-start;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(76, 196, 232, .1);
    border: 1px solid rgba(76, 196, 232, .28);
    padding: 4px 9px;
    border-radius: var(--r-xs);
    margin-bottom: 6px;
}
.bonus-tag.highlight-tag {
    color: var(--cta);
    background: rgba(169, 224, 94, .1);
    border-color: rgba(169, 224, 94, .34);
}

.bonus-card h3 {
    margin: 0;
    font-size: 16.5px;
}

.bonus-amount {
    font-family: var(--f-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-3);
    letter-spacing: -.01em;
    margin: 0;
}

.bonus-desc {
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--muted);
    margin: 4px 0 14px;
}

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

/* --------------------------------------------------------------------------
   13. TABLES
   -------------------------------------------------------------------------- */
.table-section { margin: var(--block) 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;
    margin: 0;
}

thead { background: var(--surface-2); }

th {
    padding: 13px 14px;
    text-align: left;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-3);
    white-space: nowrap;
    border-bottom: 1px solid var(--border-strong);
}

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

tbody tr { transition: background-color .16s ease; }
tbody tr:hover { background: rgba(122, 140, 240, .07); }
tbody tr:last-child td { border-bottom: 0; }

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

caption {
    caption-side: bottom;
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--faint);
    text-align: left;
}

.volatility {
    display: inline-block;
    padding: 3px 8px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--r-xs);
    border: 1px solid currentColor;
    white-space: nowrap;
}
.volatility.high   { color: var(--hot);  background: rgba(240, 138, 138, .1); }
.volatility.medium { color: var(--warn); background: rgba(240, 192, 90, .1); }

/* --------------------------------------------------------------------------
   14. LICENSE GRID
   -------------------------------------------------------------------------- */
.license-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
}

.license-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(8, 14, 25, .55);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
}

.license-icon {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.4;
}

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

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

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    margin-top: 56px;
    padding: 40px 0 20px;
    background: linear-gradient(180deg, rgba(10, 17, 32, .6) 0%, var(--bg) 70%);
    border-top: 1px solid var(--border);
    color: var(--text-soft);
}

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

.footer-brand { display: flex; flex-direction: column; }

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

.brand-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}
.brand-text strong {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-3);
}

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

.footer-col h4 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }

.footer-col a {
    display: inline-block;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }

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

.age-limit {
    display: inline-block;
    padding: 5px 11px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--cta);
    background: rgba(169, 224, 94, .08);
    border: 1px solid rgba(169, 224, 94, .35);
    border-radius: var(--r-xs);
}

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

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

    .hero-title { font-size: 23px; }
    .hero-subtitle { font-size: 16px; }
    .banner-overlay { padding: 56px var(--pad-x) 44px; }
    .hero-image-container, .main-banner-img { min-height: 340px; }

    .header-logo-img { height: 32px; }
    .btn { padding: 11px 16px; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .main-info-section { padding: 28px 24px; }
    .toc-box { padding: 22px 22px; }
    .footer-menu-wrapper { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   17. BREAKPOINT ~768px
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    :root {
        --pad-x: 32px;
        --gap: 20px;
        --block: 60px;
    }

    body { font-size: 16.5px; }

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

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

    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 17px; }
    .hero-image-container, .main-banner-img { min-height: 400px; }
    .banner-overlay { padding: 84px var(--pad-x) 56px; }

    .bonuses-grid { grid-template-columns: repeat(2, 1fr); }
    .license-content { grid-template-columns: repeat(2, 1fr); }

    .main-info-section { padding: 36px 34px; }
    .stat-card { padding: 24px 22px; }
    .stat-number { font-size: 30px; }

    .site-footer { padding: 56px 0 22px; }
    .footer-logo-img { height: 38px; }
}

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

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

    .hero-title { font-size: 29px; }
    .hero-image-container, .main-banner-img { min-height: 460px; }
    .banner-overlay { padding: 110px var(--pad-x) 70px; }

    .header-flex { padding: 14px 0; gap: 20px; }
    .header-left { gap: 28px; }
    .header-logo-img { height: 36px; }

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

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

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

    .main-nav a {
        padding: 9px 12px;
        font-size: 14.5px;
        border-left: 0;
        border-bottom: 1px solid transparent;
        border-radius: var(--r-sm);
    }
    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: var(--surface);
        border-left: 0;
        border-bottom-color: var(--accent);
        color: var(--text);
    }

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

    .footer-grid {
        grid-template-columns: minmax(260px, 1.1fr) 2fr;
        gap: 56px;
        align-items: start;
    }
    .footer-brand { max-width: 380px; }
    .footer-menu-wrapper { gap: 40px; }

    table { min-width: 0; }
}

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

    h1 { font-size: 31px; }
    .hero-title { font-size: 31px; }
    .section-title { font-size: 22px; }
    .main-info-section { padding: 44px 46px; }
    .hero-image-container, .main-banner-img { min-height: 500px; }
}

/* --------------------------------------------------------------------------
   20. 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;
    }
    .btn:hover,
    .stat-card:hover,
    .bonus-card:hover,
    .btn-play:hover { transform: none; }
}

@media print {
    body {
        background: #fff;
        color: #111;
    }
    .site-header, .site-footer, .menu-overlay,
    .main-nav, .burger-menu, .hero-banner, .toc-box { display: none !important; }
    .main-info-section {
        border: 1px solid #ccc;
        box-shadow: none;
        background: #fff;
        color: #111;
    }
    h1, h2, h3, h4, p, td, th { color: #111 !important; }
    a { color: #111; text-decoration: underline; }
}