/* =========================================================
   Pokerdom — обзор сайта · стили
   Палитра: глубокий ночной фон + красный казино + золото
   ========================================================= */

:root {
    /* До первого JS-кадра: плашка 18+ + строка шапки */
    --header-stack-bottom: 118px;
    --bg: #0b0f1a;
    --bg-2: #11172a;
    --surface: #161d33;
    --surface-2: #1d2540;
    --line: rgba(255, 255, 255, 0.08);
    --text: #e8ecf6;
    --text-soft: #b6bdd1;
    --muted: #8590ad;

    --red: #e7142b;
    --red-2: #c8102e;
    --red-3: #a30b25;
    --gold: #f7c948;
    --gold-2: #e0a911;
    --green: #1bc47d;
    --green-2: #0e9961;

    --grad-fire: linear-gradient(135deg, #ff2954 0%, #ff7a18 100%);
    --grad-gold: linear-gradient(135deg, #ffd76b 0%, #f7c948 50%, #d99417 100%);
    --grad-purple: linear-gradient(135deg, #6a3df0 0%, #c0399f 100%);
    --grad-table: linear-gradient(135deg, #0f5e3c 0%, #0a3f29 100%);

    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    --shadow-soft: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
html, body { margin: 0; padding: 0; }

body {
    font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(1200px 700px at 90% -10%, rgba(231, 20, 43, 0.18), transparent 60%),
        radial-gradient(900px 600px at -10% 10%, rgba(247, 201, 72, 0.10), transparent 60%),
        radial-gradient(800px 600px at 50% 100%, rgba(106, 61, 240, 0.12), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--gold); }

button, a, .btn, summary, .nav-toggle, .to-top, .faq-item summary {
    -webkit-tap-highlight-color: rgba(247, 201, 72, 0.12);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 18+ ribbon ---------- */
.age-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    padding-top: max(10px, env(safe-area-inset-top, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    font-size: 13px;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg, #6a0a14 0%, #c8102e 50%, #6a0a14 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #000;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .04em;
    border: 1px solid var(--gold);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(11, 15, 26, 0.88);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.45);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 16px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    flex-shrink: 0;
}
.logo:hover { color: #fff; }
.logo-mark {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--grad-fire);
    box-shadow: 0 8px 22px -6px rgba(231, 20, 43, 0.6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    overflow: hidden;
}
.logo-mark .suit {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.logo-mark .suit-heart, .logo-mark .suit-diamond { color: #ffe6a8; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.logo-text strong {
    font-family: 'Unbounded', 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .02em;
}
.logo-text em {
    font-style: normal;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
.main-nav a {
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 14.5px;
    transition: background .2s ease, color .2s ease;
}
.main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle:focus {
    outline: none;
}
.nav-toggle:focus-visible {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.35);
}

/* Кнопка «ИГРАТЬ» (внешняя ссылка через go.html) */
.btn-play {
    background: linear-gradient(135deg, #1bc47d 0%, #0e8f5a 100%);
    box-shadow: 0 14px 26px -10px rgba(27, 196, 125, 0.55);
}
.btn-play:hover {
    color: #fff;
    box-shadow: 0 16px 30px -8px rgba(27, 196, 125, 0.65);
}

.header-play.btn-header-play {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0b0f1a;
    background: var(--grad-gold);
    border: 1px solid rgba(247, 201, 72, 0.45);
    box-shadow: 0 4px 16px -4px rgba(247, 201, 72, 0.45);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.header-play.btn-header-play:hover {
    color: #0b0f1a;
    filter: brightness(1.08);
    box-shadow: 0 6px 20px -4px rgba(247, 201, 72, 0.55);
}
@media (min-width: 981px) {
    .header-play.btn-header-play {
        padding: 10px 16px;
        font-size: 13px;
    }
}
.main-nav .main-nav-play {
    margin-top: 8px;
    text-align: center;
    background: var(--grad-gold) !important;
    color: #0b0f1a !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    border: 1px solid rgba(247, 201, 72, 0.5) !important;
}
.main-nav .main-nav-play:hover {
    color: #0b0f1a !important;
    filter: brightness(1.05);
}
@media (min-width: 981px) {
    .main-nav a.main-nav-play {
        display: none;
    }
}
@media (max-width: 980px) {
    .main-nav a.main-nav-play {
        border-bottom: none !important;
    }
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Затемнение контента при открытом меню (клик снаружи — закрытие) */
.nav-backdrop {
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--header-stack-bottom, 118px);
    background: rgba(5, 8, 16, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.nav-backdrop[hidden] {
    display: none !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: -10% -10% -10% -10%;
    z-index: -1;
    background:
        radial-gradient(50% 60% at 20% 30%, rgba(231, 20, 43, 0.35), transparent 60%),
        radial-gradient(45% 60% at 85% 20%, rgba(247, 201, 72, 0.18), transparent 60%),
        radial-gradient(60% 80% at 60% 90%, rgba(106, 61, 240, 0.25), transparent 60%);
    filter: blur(0.5px);
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 18px);
    mask: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}

.hero-cards {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.card-float {
    position: absolute;
    width: 88px;
    height: 124px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f1f3fa 100%);
    color: #c8102e;
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 12px;
    box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(0,0,0,0.05);
    transform-origin: center;
    animation: floatCard 8s ease-in-out infinite;
}
.card-float::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(0,0,0,0.08);
    border-radius: 8px;
    pointer-events: none;
}
.card-1 { top: 15%; left: 6%; transform: rotate(-14deg); animation-delay: -1s; }
.card-2 { top: 8%;  right: 9%; transform: rotate(10deg); color: #c8102e; animation-delay: -2.5s; }
.card-3 { bottom: 20%; left: 12%; transform: rotate(8deg); color: #c8102e; animation-delay: -4s; }
.card-4 { bottom: 10%; right: 16%; transform: rotate(-6deg); color: #1a1a1a; animation-delay: -5.5s; }
.card-5 { top: 45%; right: 4%; transform: rotate(20deg); color: #1a1a1a; animation-delay: -3.2s; }

@keyframes floatCard {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -16px; }
}

.hero-inner { position: relative; z-index: 2; max-width: 980px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(247, 201, 72, 0.12);
    color: var(--gold);
    border: 1px solid rgba(247, 201, 72, 0.35);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-title {
    font-family: 'Unbounded', 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
}
.hero-title .grad {
    background: var(--grad-fire);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-title .accent {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    color: var(--text-soft);
    max-width: 760px;
    font-size: 18px;
    margin: 0 0 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
    color: #fff;
    background: var(--grad-fire);
    box-shadow: 0 14px 26px -10px rgba(231, 20, 43, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(231, 20, 43, 0.7); color: #fff; }
.btn-ghost {
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); color: #fff; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-stats li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px;
    backdrop-filter: blur(6px);
}
.hero-stats strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.hero-stats span { color: var(--text-soft); font-size: 13.5px; }

/* ---------- Content ---------- */
.content { padding: 30px 0 max(60px, env(safe-area-inset-bottom, 0px)); }

.section { padding: 56px 0 12px; scroll-margin-top: 90px; }

.kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(247, 201, 72, 0.12);
    color: var(--gold);
    border: 1px solid rgba(247, 201, 72, 0.3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Unbounded', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 38px);
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 14px;
    border-radius: 4px;
    background: var(--grad-fire);
}

.section h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin: 36px 0 12px;
    color: #fff;
}
.section h4 {
    font-weight: 700;
    font-size: 17px;
    margin: 22px 0 10px;
    color: #fff;
    text-transform: none;
}
.section p { margin: 0 0 14px; color: var(--text-soft); }
.section p strong { color: #fff; }

/* ---------- Info card ---------- */
.info-card {
    margin-top: 24px;
    padding: 22px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}
.info-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--gold);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

/* ---------- Lists ---------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 18px;
    display: grid;
    gap: 8px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-soft);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(27, 196, 125, 0.15);
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 196, 125, 0.35);
}
.check-list.bad-list li::before {
    content: "✕";
    background: rgba(231, 20, 43, 0.15);
    color: var(--red);
    border-color: rgba(231, 20, 43, 0.35);
}
.check-list.two-col {
    grid-template-columns: 1fr 1fr;
}

/* ---------- Step list ---------- */
.step-list {
    list-style: none;
    margin: 16px 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.step-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}
.step-list li > span {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--grad-fire);
    color: #fff;
    font-weight: 800;
    font-family: 'Unbounded', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.step-list li > div { color: var(--text-soft); padding-top: 4px; }

/* ---------- Tables ---------- */
.table-wrap {
    margin: 18px 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-soft);
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
}
thead th {
    text-align: left;
    background: linear-gradient(180deg, rgba(231, 20, 43, 0.15), rgba(231, 20, 43, 0.05));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .03em;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
}
tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 15px;
    vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
tbody tr:hover td { background: rgba(247, 201, 72, 0.05); color: #fff; }

/* ---------- Callouts ---------- */
.callout {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(247, 201, 72, 0.08);
    border-left: 4px solid var(--gold);
    color: #fff;
    margin: 16px 0 22px;
}
.callout.warn {
    background: rgba(231, 20, 43, 0.10);
    border-color: var(--red);
}

/* ---------- Feature cards ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 20px;
}
.feature-card {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: var(--grad-fire);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #fff;
    font-family: 'Unbounded', sans-serif;
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.feature-casino .feature-icon { background: var(--grad-purple); }
.feature-poker  .feature-icon { background: var(--grad-table); border: 1px solid rgba(247,201,72,.3); }
.feature-sport  .feature-icon { background: var(--grad-fire); }

/* ---------- Mirror section ---------- */
.section-mirror {
    background: radial-gradient(800px 400px at 80% 0%, rgba(231,20,43,0.12), transparent 60%);
    border-radius: var(--radius-lg);
    padding: 56px 28px;
    border: 1px solid var(--line);
    margin-top: 40px;
}

/* ---------- Chips ---------- */
.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 22px;
}
.chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--text);
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}
.chip:hover {
    background: rgba(247, 201, 72, 0.12);
    color: var(--gold);
    transform: translateY(-1px);
}

/* ---------- Bonuses ---------- */
.section-bonuses {
    background:
        radial-gradient(600px 300px at 10% 0%, rgba(247,201,72,0.10), transparent 60%),
        radial-gradient(600px 300px at 90% 100%, rgba(231,20,43,0.10), transparent 60%);
    border-radius: var(--radius-lg);
    padding: 56px 28px;
    border: 1px solid var(--line);
    margin-top: 40px;
}
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 18px 0 26px;
}
.bonus-card {
    position: relative;
    padding: 22px 20px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(247, 201, 72, 0.10) 0%, rgba(231, 20, 43, 0.10) 100%);
    border: 1px solid rgba(247, 201, 72, 0.25);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .25s ease;
}
.bonus-card:hover { transform: translateY(-4px); }
.bonus-card::after {
    content: "♠";
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 110px;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
}
.bonus-tag {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 10px;
}
.bonus-amount {
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 8px;
}
.bonus-amount span {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    margin-top: 4px;
    letter-spacing: 0;
}
.bonus-card p { color: var(--text-soft); font-size: 13.5px; margin: 0; }

/* ---------- Examples (good/bad) ---------- */
.examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 22px 0;
}
.example {
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
}
.example-good { border-left: 4px solid var(--green); }
.example-bad  { border-left: 4px solid var(--red); }
.example-head {
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.example-good .example-head { color: var(--green); }
.example-bad  .example-head { color: var(--red); }
.example p { margin: 0; color: var(--text-soft); }

/* ---------- Reviews ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}
.review-col {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}
.review-col.positive { border-top: 4px solid var(--green); }
.review-col.negative { border-top: 4px solid var(--red); }
.review-col h4 {
    margin-top: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ---------- FAQ ---------- */
.section-faq {
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(106,61,240,0.12), transparent 60%);
    border-radius: var(--radius-lg);
    padding: 56px 28px;
    border: 1px solid var(--line);
    margin-top: 40px;
}
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] {
    border-color: rgba(247, 201, 72, 0.4);
    background: rgba(247, 201, 72, 0.05);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "＋";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--grad-fire);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}
.faq-body {
    padding: 0 20px 18px;
    color: var(--text-soft);
}
.faq-body p { margin: 0; }

/* ---------- Responsible ---------- */
.section-responsible {
    margin-top: 40px;
    padding: 40px 0 20px;
}
.responsible-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(231,20,43,0.18), rgba(106,61,240,0.18));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
}
.responsible-icon {
    flex-shrink: 0;
    font-size: 36px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}
.responsible-card h2 {
    margin: 0 0 8px;
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    color: #fff;
}
.responsible-card p { color: var(--text-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 60px;
    padding: 60px 0 max(30px, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4) 100%);
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer-col h5 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.footer-col ul a {
    color: var(--text-soft);
    font-size: 14.5px;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-note {
    color: var(--muted);
    font-size: 13.5px;
    margin-top: 14px;
}
.age-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #000;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: .04em;
}
.copy {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

/* ---------- To top ---------- */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-fire);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 14px 30px -8px rgba(231, 20, 43, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 40;
}
.to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.to-top:hover { transform: translateY(-3px); color: #fff; }
.to-top:focus-visible {
    outline: 2px solid rgba(247, 201, 72, 0.9);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .feature-grid { grid-template-columns: 1fr; }
    .bonus-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .examples { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .check-list.two-col { grid-template-columns: 1fr; }

    .nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
        z-index: 102;
    }
    .logo {
        flex: 1;
        min-width: 0;
        margin-right: 4px;
    }
    .logo-text strong {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .header-inner {
        padding-left: max(0px, env(safe-area-inset-left, 0px));
        padding-right: max(0px, env(safe-area-inset-right, 0px));
    }
    .main-nav {
        position: fixed;
        z-index: 95;
        left: 0;
        right: 0;
        top: var(--header-stack-bottom, 118px);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px max(20px, env(safe-area-inset-bottom, 0px));
        background: rgba(11, 15, 26, 0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
        gap: 2px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.2s ease;
        max-height: calc(100dvh - var(--header-stack-bottom, 118px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav a {
        padding: 14px 14px;
        font-size: 16px;
        border-radius: 12px;
    }
    .main-nav a:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
}

/* Планшет: те же «белые» карты съедают контраст с текстом — лёгкое стекло + картонки тише */
@media (max-width: 900px) and (min-width: 641px) {
    .hero-cards { opacity: 0.3; }
    .hero-inner {
        background: linear-gradient(
            165deg,
            rgba(11, 15, 26, 0.9) 0%,
            rgba(11, 15, 26, 0.82) 100%
        );
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        box-shadow: 0 16px 44px -20px rgba(0, 0, 0, 0.75);
        padding: 24px 22px 20px;
    }
    .hero-title { color: #f0f3fa; }
    .hero-title .grad,
    .hero-title .accent {
        -webkit-filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
        line-height: 1.62;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }
    .container { padding: 0 16px; }
    .content { padding-top: 20px; padding-bottom: max(48px, env(safe-area-inset-bottom, 0px)); }
    .hero { padding: 50px 0 70px; }
    .hero-bg { opacity: 0.95; }
    /* Светлый текст h1 сливался с белыми «карточками» — фон-«стекло» + приглушение карт */
    .hero-cards {
        opacity: 0.22;
    }
    .card-float { animation: none; }
    .hero-inner {
        background: linear-gradient(
            160deg,
            rgba(11, 15, 26, 0.97) 0%,
            rgba(11, 15, 26, 0.9) 45%,
            rgba(17, 23, 42, 0.86) 100%
        );
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.85);
        padding: 20px 16px 18px;
    }
    .hero-title {
        color: #f0f3fa;
    }
    .hero-title .grad,
    .hero-title .accent {
        -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    }
    .hero-tag { font-size: 11px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-stats li { padding: 14px; }
    .hero-stats strong { font-size: 22px; }
    .card-float { width: 64px; height: 90px; font-size: 19px; }

    .section { padding: 40px 0 8px; }
    .section-title { font-size: 28px; }
    .section h3 { font-size: 19px; }

    .bonus-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }

    .section-mirror, .section-bonuses, .section-faq { padding: 40px 18px; }

    .responsible-card { flex-direction: column; gap: 14px; padding: 22px; }

    .age-ribbon { font-size: 12px; padding: 8px 12px; gap: 8px; }
    .age-ribbon span:not(.age-badge) { text-align: left; }
}

@media (max-width: 480px) {
    .logo-text em { display: none; }
    .logo-mark { width: 40px; height: 40px; border-radius: 11px; }
    .logo-text strong { font-size: 18px; }
}

/* Узкие экраны: 320–420px (старые iPhone, компактные Android) */
@media (max-width: 420px) {
    .container { padding: 0 12px; }
    .header-inner { min-height: 56px; gap: 8px; }
    .hero {
        padding: 36px 0 52px;
    }
    .hero-inner {
        padding: 16px 12px 14px;
        border-radius: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-title {
        font-size: clamp(22px, 6.5vw, 30px);
        line-height: 1.12;
        margin-bottom: 16px;
    }
    .hero-tag {
        font-size: 10px;
        letter-spacing: 0.1em;
        padding: 6px 10px;
        margin-bottom: 14px;
    }
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.58;
        margin-bottom: 22px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 28px;
    }
    .hero-cta .btn {
        width: 100%;
        min-height: 48px;
        padding-left: 18px;
        padding-right: 18px;
        font-size: 15px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero-stats li {
        padding: 12px 12px;
    }
    .hero-stats strong {
        font-size: 19px;
    }
    .hero-stats span {
        font-size: 12px;
        line-height: 1.35;
    }
    .kicker {
        font-size: 10px;
        letter-spacing: 0.12em;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    .section-title {
        font-size: clamp(22px, 5.5vw, 28px);
        line-height: 1.2;
    }
    .section-title::after {
        margin-top: 10px;
        height: 3px;
        width: 52px;
    }
    .section {
        padding: 32px 0 6px;
        scroll-margin-top: 72px;
    }
    .section h3 {
        font-size: 17px;
        margin: 26px 0 10px;
    }
    .section h4 {
        font-size: 15.5px;
    }
    .feature-card {
        padding: 18px 14px 16px;
        border-radius: var(--radius);
    }
    .feature-card h3 {
        font-size: 18px;
    }
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    .feature-grid {
        gap: 14px;
    }
    .info-card {
        padding: 16px 14px;
        border-radius: 14px;
    }
    .callout {
        padding: 12px 14px;
        font-size: 15px;
        margin: 12px 0 16px;
    }
    .table-wrap {
        margin: 14px 0 18px;
        border-radius: 14px;
    }
    thead th {
        font-size: 11px;
        padding: 10px 8px;
        letter-spacing: 0.04em;
    }
    tbody td {
        font-size: 13px;
        padding: 10px 8px;
    }
    .step-list li {
        padding: 10px 12px;
        gap: 10px;
    }
    .step-list li > span {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    .check-list li {
        padding-left: 28px;
        font-size: 15px;
    }
    .chip {
        padding: 6px 10px;
        font-size: 11.5px;
    }
    .chip-grid {
        gap: 8px;
    }
    .section-mirror,
    .section-bonuses,
    .section-faq {
        padding: 28px 12px;
        border-radius: var(--radius);
    }
    .bonus-grid {
        gap: 12px;
    }
    .bonus-card {
        padding: 16px 14px;
    }
    .bonus-amount {
        font-size: 22px;
    }
    .bonus-card p {
        font-size: 12.5px;
    }
    .examples {
        gap: 12px;
    }
    .example {
        padding: 14px 14px;
    }
    .review-col {
        padding: 16px 14px;
    }
    .faq-item summary {
        padding: 14px 14px;
        font-size: 15px;
    }
    .faq-body {
        padding: 0 14px 14px;
        font-size: 15px;
    }
    .responsible-card {
        padding: 18px 14px;
        border-radius: var(--radius);
    }
    .responsible-icon {
        width: 52px;
        height: 52px;
        font-size: 30px;
    }
    .responsible-card h2 {
        font-size: 18px;
    }
    .site-footer {
        padding: 40px 0 24px;
    }
    .footer-inner {
        gap: 22px;
    }
    .copy {
        padding-left: 8px;
        padding-right: 8px;
        line-height: 1.45;
    }
    .to-top {
        right: max(10px, env(safe-area-inset-right, 0px));
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    .card-float {
        width: 52px;
        height: 74px;
        font-size: 16px;
        padding: 8px 8px;
    }
    .main-nav {
        padding-left: 12px;
        padding-right: 12px;
    }
    .main-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .age-ribbon {
        flex-wrap: wrap;
        justify-content: flex-start;
        text-align: left;
        gap: 8px;
        font-size: 11px;
        line-height: 1.4;
        padding-bottom: 10px;
    }
}

@media (max-width: 360px) {
    .container { padding: 0 10px; }
    .hero-title {
        font-size: 21px;
    }
    .section-title {
        font-size: 21px;
    }
    .logo-text strong {
        font-size: 16px;
    }
    .logo-mark {
        width: 36px;
        height: 36px;
    }
    .logo-mark .suit {
        font-size: 12px;
    }
    thead th {
        font-size: 10px;
        padding: 8px 6px;
    }
    tbody td {
        font-size: 12.5px;
        padding: 8px 6px;
    }
}

/* ---------- Animations on scroll ---------- */
.section { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.section.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .section { opacity: 1; transform: none; transition: none; }
    .card-float { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Selection ---------- */
::selection { background: rgba(247, 201, 72, 0.35); color: #fff; }

/* Yandex.Metrika: off-screen fall-back image when JS is disabled */
.yandex-metrika-noscript-img {
    position: absolute;
    left: -9999px;
    border: 0;
}

/* ---------- Print-friendly text ---------- */
@media print {
    body { background: #fff; color: #000; }
    .site-header, .site-footer, .age-ribbon, .to-top, .hero-cards, .hero-bg { display: none !important; }
}
