/* Aviator Game Hack — navy/amber theme + prediction ledger
   Цель: визуально отличаться от aviatorhackapk.com (black/green).
   Подключается ПОСЛЕ main.min.css и переопределяет ключевые цвета/блоки. */

:root {
    --bg-deep:    #0A0E27;   /* deep navy фон */
    --bg-surface: #11163A;   /* surface (cards) */
    --bg-elev:    #181D45;   /* elevated (header rows) */
    --border:     #232a55;
    --accent:     #FFB020;   /* amber/yellow neon — главный акцент */
    --accent-hot: #FF7A00;   /* deeper orange — для hover/градиентов */
    --accent-soft:rgba(255,176,32,0.12);
    --text:       #E5E8F7;
    --text-dim:   #9098C0;
    --text-mute:  #5D6396;
    --success:    #00D27A;
    --danger:     #FF5C7F;
}

/* ===== Глобальный фон + текст ===== */
body {
    background: var(--bg-deep) !important;
    color: var(--text);
}
body::before {
    /* лёгкий неоновый ореол на фоне */
    content: "";
    position: fixed; inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,176,32,0.08), transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(124,77,255,0.10), transparent 50%);
    pointer-events: none; z-index: 0;
}
.main, .header, .footer { position: relative; z-index: 1; }

/* Подавляем зелёный grid из main.min.css на новом фоне */
.grid { opacity: 0.22; mix-blend-mode: screen; }

/* ===== Header / Footer ===== */
.header-line { background: linear-gradient(90deg, transparent, var(--accent), transparent) !important; height: 1px; opacity: 0.55; }
.header-text, .footer-text { color: var(--text) !important; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; font-size: 12px; }
.header-version span { color: var(--accent); font-weight: 700; }
.header-version svg path { fill: var(--accent) !important; }

/* ===== Hero ===== */
.hero { padding: 60px 0 50px; }
.hero .h1, h1.h1 {
    color: var(--text);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.15;
    background: linear-gradient(120deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-dim); line-height: 1.6; }

/* ===== Buttons (btn-orange → amber neon) ===== */
.btn.btn-orange, a.btn-orange {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%) !important;
    color: #111 !important;
    font-weight: 800 !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 14px 28px !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 1px rgba(255,176,32,0.4), 0 8px 24px rgba(255,122,0,0.25);
    transition: transform .15s, box-shadow .15s;
    text-decoration: none !important;
}
.btn.btn-orange:hover, a.btn-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px var(--accent), 0 12px 32px rgba(255,122,0,0.45);
}

/* ===== Info section / cards ===== */
.info { padding: 40px 0; }
.info-item { background: transparent; }
.info-box {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    padding: 22px !important;
    box-shadow: 0 0 0 1px rgba(255,176,32,0.04), 0 24px 48px -24px rgba(0,0,0,0.55);
}
.info-item__title h2, .h2 {
    color: var(--accent) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}
.info-item__body p, .font-18 { color: var(--text-dim) !important; line-height: 1.6; }
.info-item__body p b { color: var(--text) !important; }
.info-chart { border-radius: 14px; overflow: hidden; }

/* ===== Prediction vs Actual block (ledger) ===== */
.section#ledger { padding: 60px 0 70px; }
#ledger .section__text { text-align: center; margin-bottom: 28px; }
#ledger .section__title.h2 {
    font-size: 32px !important;
    background: linear-gradient(120deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 12px;
}
#ledger .section__descr p { color: var(--text-dim); max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 1.55; }

.ldg-top { margin-bottom: 22px; }
.ldg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.ldg-stat {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.ldg-stat::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.ldg-stat__label {
    color: var(--text-mute); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.ldg-stat__val { color: var(--text); font-size: 22px; font-weight: 800; line-height: 1; }
.ldg-stat__val--accent { color: var(--accent); }

.ldg-table-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}
.ldg-table {
    width: 100%; border-collapse: collapse;
    color: var(--text); font-size: 14px;
}
.ldg-table thead { background: var(--bg-elev); }
.ldg-table th {
    text-align: left; padding: 13px 18px;
    color: var(--text-mute); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
}
.ldg-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(35,42,85,0.6);
    font-weight: 600;
}
.ldg-table tbody tr:last-child td { border-bottom: 0; }
.ldg-table tbody tr:hover td { background: rgba(255,176,32,0.04); }
.ldg-table tbody tr.exact td,
.ldg-table tbody tr.match td {
    background: rgba(0,210,122,0.05);
}
.ldg-pred { color: var(--accent); }
.ldg-round { color: var(--text-mute); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.ldg-time { color: var(--text-mute); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }
/* В ledger.js используются classes для actual/result */
.ldg-table .actual-hit, .ldg-table .result-exact, .ldg-table .result-match {
    color: var(--success) !important;
}
.ldg-table .actual-miss, .ldg-table .result-miss {
    color: var(--danger) !important;
}

.loading-spinner, #ledger-empty {
    color: var(--text-mute);
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
}

@media (max-width: 720px) {
    .ldg-stats { grid-template-columns: repeat(2, 1fr); }
    .ldg-table th, .ldg-table td { padding: 10px 12px; font-size: 13px; }
    .ldg-table th:nth-child(4), .ldg-table td:nth-child(4) { display: none; }  /* hide Round on mobile */
}
@media (max-width: 480px) {
    .ldg-table th:nth-child(5), .ldg-table td:nth-child(5) { display: none; }  /* hide Time on small */
    #ledger .section__title.h2 { font-size: 24px !important; }
}

/* ===== Hero double CTA ===== */
.hero-cta {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px;
}
.hero-cta .btn-orange { min-width: 220px; text-align: center; }
@media (max-width: 600px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn-orange { width: 100%; }
}

/* ===== Article section ===== */
.article-section {
    padding: 50px 0 70px;
    position: relative;
    z-index: 1;
}
.article-container { position: relative; z-index: 2; }
.article {
    max-width: 880px; margin: 0 auto;
    line-height: 1.65; font-size: 16px;
}
.article p {
    margin: 0 0 16px;
    color: var(--text-dim);
}
.article p b { color: var(--text); }
.article__title {
    color: var(--accent) !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin: 40px 0 16px !important;
    font-weight: 800;
    position: relative;
    padding-left: 18px;
    border-left: 4px solid var(--accent);
}
.article__title:first-child { margin-top: 0 !important; }

/* Features list with amber dots */
.article__features {
    list-style: none; padding: 0; margin: 0 0 24px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
}
.article__features li {
    position: relative; padding-left: 28px;
    color: var(--text); font-size: 15px; line-height: 1.5;
}
.article__features li::before {
    content: "";
    position: absolute; left: 0; top: 4px;
    width: 18px; height: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    border-radius: 50%;
    background-image: linear-gradient(135deg, var(--accent), var(--accent-hot)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-blend-mode: normal;
    background-size: cover, 14px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 12px rgba(255,176,32,0.35);
}
.article__features--single { grid-template-columns: 1fr !important; }
@media (max-width: 600px) {
    .article__features { grid-template-columns: 1fr; }
    .article__title { font-size: 22px !important; }
}

/* ===== FAQ accordion ===== */
.faq {
    margin: 8px 0 32px;
    display: flex; flex-direction: column; gap: 10px;
}
.faq__item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .15s;
}
.faq__item[open] { border-color: var(--accent); }
.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 14px 44px 14px 18px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+";
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 22px; font-weight: 400; line-height: 1;
    transition: transform .2s;
}
.faq__item[open] .faq__q::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}
.faq__a {
    padding: 0 18px 16px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Final CTA ===== */
.final-cta {
    margin-top: 44px;
    padding: 36px 28px;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elev));
    border: 1px solid var(--accent);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(255,176,32,0.12), 0 32px 60px -32px rgba(255,122,0,0.4);
}
.final-cta .article__title {
    border-left: none !important;
    padding-left: 0 !important;
    margin: 0 0 14px !important;
    text-align: center;
}
.final-cta p { color: var(--text-dim); margin: 0 0 12px; }
.final-cta__buttons {
    display: inline-flex; gap: 12px; flex-wrap: wrap;
    justify-content: center; margin-top: 16px;
}
.final-cta__buttons .btn-orange { min-width: 220px; }
@media (max-width: 600px) {
    .final-cta { padding: 26px 18px; }
    .final-cta__buttons { width: 100%; flex-direction: column; }
    .final-cta__buttons .btn-orange { width: 100%; }
}

/* ===== Header v2 — navy + amber neon ===== */
.hdr {
    position: relative;
    z-index: 5;
    margin: 0 0 20px;
}
.hdr__bar {
    background:
        linear-gradient(135deg, rgba(255,176,32,0.06) 0%, transparent 35%, rgba(255,122,0,0.05) 100%),
        var(--bg-elev);
    border-bottom: 1px solid rgba(255,176,32,0.18);
    padding: 18px 0;
    position: relative;
    overflow: hidden;
}
.hdr__bar::before {
    /* лёгкий диагональный амбер-блик */
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 0% 50%, rgba(255,176,32,0.10), transparent 35%);
    pointer-events: none;
}
.hdr__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.hdr__brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.hdr__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(255,176,32,0.18), rgba(255,122,0,0.10));
    border: 1px solid rgba(255,176,32,0.4);
    border-radius: 12px;
    box-shadow: 0 0 16px rgba(255,176,32,0.25), inset 0 0 14px rgba(255,176,32,0.08);
}
.hdr__icon svg { transform: rotate(-12deg); }
.hdr__title-block { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.hdr__title {
    font-size: 20px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hdr__subtitle {
    font-size: 11px; font-weight: 600;
    color: var(--text-mute);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
}
.hdr__sep {
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.7;
}
.hdr__right {
    display: flex; align-items: center; gap: 14px;
}
.hdr__live {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,210,122,0.10);
    border: 1px solid rgba(0,210,122,0.4);
    border-radius: 999px;
    padding: 6px 14px;
    color: #00D27A;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.hdr__live-dot {
    width: 8px; height: 8px;
    background: #00D27A;
    border-radius: 50%;
    box-shadow: 0 0 8px #00D27A;
    animation: hdrPulse 1.6s ease-in-out infinite;
}
@keyframes hdrPulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(1.3); }
}
.hdr__regions {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 4px;
}
.hdr__region {
    color: var(--text-dim);
    font-size: 12px; font-weight: 700;
    padding: 0 8px;
    letter-spacing: 0.04em;
}
.hdr__accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-hot) 50%, var(--accent) 80%, transparent 100%);
    box-shadow: 0 0 14px rgba(255,176,32,0.4);
}

/* Прячем дефолтную .header чтобы не вылез старый стиль если она в DOM осталась */
header.header { display: none; }

@media (max-width: 720px) {
    .hdr__bar { padding: 14px 0; }
    .hdr__inner { gap: 12px; }
    .hdr__icon { width: 40px; height: 40px; }
    .hdr__icon svg { width: 26px; height: 26px; }
    .hdr__title { font-size: 17px; }
    .hdr__subtitle { font-size: 10px; letter-spacing: 0.1em; }
    .hdr__right { width: 100%; justify-content: flex-start; gap: 10px; }
    .hdr__regions { padding: 5px 4px; }
    .hdr__region { font-size: 11px; padding: 0 6px; }
}
@media (max-width: 480px) {
    .hdr__brand { gap: 10px; }
    .hdr__live span:not(.hdr__live-dot) { display: none; }
    .hdr__live { padding: 6px 8px; }
}

/* ===== Footer v2 — mirror of header v2 ===== */
.ftr {
    position: relative;
    z-index: 5;
    margin: 60px 0 0;
}
.ftr__accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-hot) 50%, var(--accent) 80%, transparent 100%);
    box-shadow: 0 0 14px rgba(255,176,32,0.4);
}
.ftr__bar {
    background:
        linear-gradient(135deg, rgba(255,122,0,0.05) 0%, transparent 35%, rgba(255,176,32,0.06) 100%),
        var(--bg-elev);
    border-top: 1px solid rgba(255,176,32,0.18);
    padding: 26px 0 24px;
    position: relative;
    overflow: hidden;
}
.ftr__bar::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 100% 50%, rgba(255,176,32,0.08), transparent 35%);
    pointer-events: none;
}
.ftr__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.ftr__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.ftr__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, rgba(255,176,32,0.18), rgba(255,122,0,0.10));
    border: 1px solid rgba(255,176,32,0.4);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(255,176,32,0.22), inset 0 0 12px rgba(255,176,32,0.08);
}
.ftr__icon svg { transform: rotate(-12deg); }
.ftr__title-block { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.ftr__title {
    font-size: 16px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ftr__subtitle {
    font-size: 10px; font-weight: 600;
    color: var(--text-mute);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
}
.ftr__meta {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
}
.ftr__regions {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 4px;
}
.ftr__copy {
    color: var(--text-mute);
    font-size: 12px;
    letter-spacing: 0.02em;
}

/* Прячем дефолтный .footer на случай старого кеша */
footer.footer { display: none; }

@media (max-width: 720px) {
    .ftr { margin-top: 40px; }
    .ftr__bar { padding: 22px 0 20px; }
    .ftr__inner { gap: 16px; }
    .ftr__title { font-size: 14px; }
    .ftr__subtitle { font-size: 10px; letter-spacing: 0.1em; }
    .ftr__meta { width: 100%; gap: 12px; }
    .ftr__copy { font-size: 11px; }
}

/* ============================================================
   INFO SECTION v2 — full repaint, amber-glass cards
   ============================================================ */
.info {
    padding: 50px 0 60px !important;
    background: transparent !important;
    position: relative;
}
.info .container { position: relative; z-index: 2; }
.info .grid--2 { opacity: 0.18; mix-blend-mode: screen; }

.info > .container > .info-item {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elev) 100%) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 28px 30px !important;
    margin-bottom: 24px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px -32px rgba(0,0,0,0.55);
}
.info > .container > .info-item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--accent-hot));
    box-shadow: 0 0 14px rgba(255,176,32,0.45);
}
.info > .container > .info-item .info-item__title {
    padding: 0 !important; background: none !important; border: 0 !important;
    margin-bottom: 14px !important;
}
.info > .container > .info-item .info-item__title h2 {
    margin: 0 !important; font-size: 22px !important;
}
.info > .container > .info-item .info-item__body {
    padding: 0 !important; background: none !important; border: 0 !important;
}
.info > .container > .info-item .info-item__body p { margin: 0 0 10px; }
.info > .container > .info-item .info-item__body p:last-child { margin-bottom: 0; }

/* Two-column row of boxes */
.info-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin: 0 !important;
}
@media (max-width: 900px) {
    .info-row { grid-template-columns: 1fr !important; }
}

/* Cards (info-box) */
.info-box {
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(17,22,58,0.85) 100%) !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    display: flex; flex-direction: column;
    box-shadow: 0 32px 64px -36px rgba(0,0,0,0.6);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.info-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255,176,32,0.5);
    box-shadow: 0 32px 64px -28px rgba(255,122,0,0.25), 0 0 0 1px rgba(255,176,32,0.25);
}
.info-box::after {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 60%, transparent 100%);
    opacity: 0.85;
}

/* Chart image at top of left card */
.info-chart {
    background: linear-gradient(135deg, rgba(255,176,32,0.10), rgba(255,122,0,0.04)) !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 22px !important;
    text-align: center;
    border-radius: 0 !important;
    position: relative;
}
.info-chart img {
    max-width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 0 16px rgba(255,176,32,0.3)) hue-rotate(-30deg) saturate(1.3);
    opacity: 0.95;
}

/* All info-item inside a box — pad them */
.info-box .info-item {
    padding: 24px 26px !important;
    background: none !important;
    border: 0 !important;
    flex: 1;
    display: flex; flex-direction: column;
}
.info-box .info-item + .info-item {
    border-top: 1px dashed rgba(255,176,32,0.18) !important;
}
.info-box .info-item__title {
    padding: 0 !important; background: none !important; border: 0 !important;
    margin-bottom: 12px !important;
}
.info-box .info-item__title h2 {
    margin: 0 !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
}
.info-box .info-item__body {
    padding: 0 !important; background: none !important; border: 0 !important;
    flex: 1;
    display: flex; flex-direction: column;
}
.info-box .info-item__body p { margin: 0 0 12px; }
.info-box .info-item__img {
    margin: 8px 0 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    position: relative;
}
.info-box .info-item__img img {
    width: 100% !important; height: auto !important; display: block;
}
.info-box .info-item__img::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,176,32,0.12), transparent 60%);
    pointer-events: none;
}
.info-box .info-item__body a.btn-orange {
    align-self: flex-start;
    margin-top: 12px !important;
}

/* Features list inside info-box card */
.info-box .article__features { margin: 8px 0 0 !important; }
.info-box .article__features li {
    padding: 10px 14px 10px 42px !important;
    background: rgba(255,176,32,0.04);
    border: 1px solid rgba(255,176,32,0.12);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    transition: background .15s, border-color .15s;
}
.info-box .article__features li:hover {
    background: rgba(255,176,32,0.10);
    border-color: rgba(255,176,32,0.35);
}
.info-box .article__features li::before {
    left: 12px !important; top: 50% !important;
    transform: translateY(-50%);
    width: 16px !important; height: 16px !important;
    background-size: cover, 12px !important;
}

/* ============================================================
   ARTICLE SECTION v2 — visual polish + numbered titles
   ============================================================ */
.article-section {
    position: relative;
    padding: 60px 0 80px !important;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,176,32,0.06), transparent 50%),
        transparent;
}
.article-section::before {
    content: "";
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px var(--accent);
}
.article {
    counter-reset: article-h2;
}
.article__title {
    counter-increment: article-h2;
    padding: 18px 22px 18px 78px !important;
    border-left: 0 !important;
    background: linear-gradient(90deg, rgba(255,176,32,0.10), rgba(17,22,58,0.4) 60%, transparent 100%) !important;
    border-radius: 14px;
    position: relative;
    color: var(--text) !important;
    font-size: 24px !important;
    margin: 56px 0 18px !important;
    border-top: 1px solid rgba(255,176,32,0.20);
    border-bottom: 1px solid rgba(255,176,32,0.08);
}
.article__title:first-child { margin-top: 0 !important; }
.article__title::before {
    content: counter(article-h2, decimal-leading-zero);
    position: absolute;
    left: 20px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    color: #111;
    border-radius: 12px;
    font-size: 14px; font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 0 16px rgba(255,176,32,0.35), inset 0 0 10px rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
    .article__title {
        padding: 16px 14px 16px 64px !important;
        font-size: 18px !important;
        margin: 40px 0 14px !important;
    }
    .article__title::before { left: 12px; width: 38px; height: 38px; font-size: 12px; }
}

.article p {
    color: var(--text-dim) !important;
    font-size: 16px;
    line-height: 1.7;
}
.article p b { color: var(--accent) !important; }

/* Bullet lists in article */
.article > .article__features {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elev));
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    padding: 20px 24px 20px 28px;
    margin: 0 0 22px !important;
}
.article > .article__features li {
    padding-left: 32px !important;
    color: var(--text) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.article > .article__features li::before {
    top: 4px !important;
}

/* Exclude FAQ title from numbering — we don't want FAQ counted as "Step 08" */
.article__title:has(+ .faq), .article .faq + .final-cta .article__title { /* visual only */ }

/* ============================================================
   FAQ v2 — fancy gradient accordion
   ============================================================ */
.faq {
    margin: 12px 0 32px !important;
    counter-reset: faq-i;
}
.faq__item {
    counter-increment: faq-i;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(17,22,58,0.7) 100%) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    overflow: hidden;
    position: relative;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.faq__item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-hot));
    opacity: 0.4;
    transition: opacity .2s;
}
.faq__item[open] {
    border-color: rgba(255,176,32,0.5) !important;
    box-shadow: 0 12px 36px -16px rgba(255,122,0,0.25);
}
.faq__item[open]::before { opacity: 1; }
.faq__q {
    padding: 16px 50px 16px 24px !important;
    font-size: 15px !important;
    color: var(--text) !important;
    transition: color .15s;
}
.faq__q:hover { color: var(--accent) !important; }
.faq__q::before {
    content: "Q" counter(faq-i, decimal-leading-zero);
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    color: #111;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-right: 10px;
    transform: translateY(-1px);
}
.faq__q::after {
    right: 20px !important;
    color: var(--accent) !important;
    font-size: 24px !important;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,176,32,0.10);
    transition: background .15s, transform .2s;
}
.faq__item[open] .faq__q::after {
    background: rgba(255,176,32,0.20);
}
.faq__a {
    padding: 0 24px 18px 24px !important;
    color: var(--text-dim) !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    border-top: 1px dashed rgba(255,176,32,0.18);
    padding-top: 14px !important;
}

/* ============================================================
   FINAL CTA v2 — starburst amber callout
   ============================================================ */
.final-cta {
    margin: 56px 0 0 !important;
    padding: 44px 32px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,176,32,0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-elev) 100%) !important;
    border: 1px solid rgba(255,176,32,0.5) !important;
    border-radius: 22px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,176,32,0.15),
        0 40px 80px -32px rgba(255,122,0,0.35),
        inset 0 0 60px rgba(255,176,32,0.05) !important;
}
.final-cta::before {
    content: "";
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 16px var(--accent);
}
.final-cta .article__title {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    font-size: 28px !important;
    counter-increment: none;
}
.final-cta .article__title::before { display: none !important; }
.final-cta p {
    color: var(--text-dim) !important;
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto 12px !important;
}
.final-cta__buttons {
    margin-top: 22px !important;
}
@media (max-width: 600px) {
    .final-cta { padding: 32px 18px !important; }
    .final-cta .article__title { font-size: 22px !important; }
}

/* ============================================================
   CRITICAL OVERRIDES — kill all residual green from main.min.css
   ============================================================ */

/* 1. Wider container — page felt cramped on desktop */
.container {
    max-width: 1320px !important;
    padding: 0 32px !important;
}
@media (max-width: 720px) {
    .container { padding: 0 16px !important; }
}

/* 2. Body inherits #45ff97 by default — force navy palette */
body, body p, body span, body li {
    color: var(--text);
}
body { color: var(--text) !important; }

/* 3. H1 had green text-shadow + green color */
.h1, h1.h1 {
    text-shadow: 0 0 24px rgba(255,176,32,0.35) !important;
    color: var(--text);
    font-size: 36px !important;
    margin-bottom: 24px !important;
}
@media (max-width: 600px) { .h1, h1.h1 { font-size: 26px !important; } }

/* 4. THE green stripe around H2 (.info-item__title) — full kill */
.info-item__title,
.info > .container > .info-item .info-item__title,
.info-box .info-item__title {
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
}
.info-item__title .h2,
.info-item__title h2 {
    color: var(--accent) !important;
    text-shadow: none !important;
    text-transform: none !important;
    background: none !important;
    padding: 0 !important;
}

/* 5. Any leftover green box-shadow / text-shadow on H2 */
.h2, h2.h2, .info-item__title h2, .info-item__title .h2 {
    text-shadow: none !important;
    box-shadow: none !important;
}

/* 6. info-item::before / info-item__body::before/after — green decorative bars */
.info-item__body::before,
.info-item__body::after,
.info-item::before,
.hero-row::before,
.hero-row::after,
.footer-row::before {
    display: none !important;
}

/* 7. Btn-orange may have a green ::before pseudo from main.min.css */
.btn-orange::before { display: none !important; }

/* 8. body min-width 390px — мешает на маленьких экранах */
body { min-width: 0 !important; }

/* 9. Hero spacing — make sure H1 doesn't fight a min-height collapse */
.hero { padding: 70px 0 50px !important; }
.hero-row { padding: 0 !important; }
.hero p {
    color: var(--text-dim) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 0 14px !important;
}
.hero p:last-of-type { margin-bottom: 0; }

/* 10. .article container — ужe не 880, раз контейнер 1320 — расширяем */
.article { max-width: 980px !important; }

/* 11. Inside info-box: title h2 should not duplicate amber chip */
.info-box .info-item__title .h2,
.info-box .info-item__title h2 {
    font-size: 19px !important;
    line-height: 1.3 !important;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 12. Wide info-item top card — h2 also amber-gradient */
.info > .container > .info-item .info-item__title h2 {
    font-size: 24px !important;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 13. Ledger section title — same treatment */
#ledger .section__title.h2 { text-shadow: none !important; }

/* 14. Final CTA title shouldn't catch counter */
.final-cta .article__title { counter-increment: none !important; }

/* ============================================================
   TYPOGRAPHY v2 — Inter (sans), kill Roboto Mono
   ============================================================ */
body, body p, body div, body span, body li, body a, body button, body input, body select,
.info, .info-item, .info-item__body, .info-item__title, .article, .article p, .faq, .faq__q, .faq__a,
.h1, .h2, .ftr__title, .ftr__subtitle, .hdr__title, .hdr__subtitle,
.hero, .hero p, .final-cta, .final-cta p {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
/* Числовые/моно элементы — JetBrains Mono */
.ldg-round, .ldg-time, .ldg-pred,
.ic-card__value, .ic-card__time, .ic-card__mini-val,
.hdr__region, .ftr__copy {
    font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace !important;
}

/* H1/H2 weight */
.h1, h1.h1 {
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    font-size: 44px !important;
}
@media (max-width: 720px) { .h1, h1.h1 { font-size: 30px !important; } }
.h2, h2.h2 { letter-spacing: -0.01em !important; text-transform: none !important; }

/* ============================================================
   INFO-ROW v3 — equal-height symmetric cards
   ============================================================ */
.info-row {
    align-items: stretch !important;
}
.info-box {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}
.info-box > .info-item:last-child { flex: 1; }

/* Reorder so the title H2 comes BEFORE the chart image in left card */
.info-box:first-child {
    /* No reorder needed; structure already has chart + bottom-item.
       Use ::before strategy = visual title chip above chart */
}

/* ============================================================
   info-chart v2 — CUSTOM amber AI signal card
   ============================================================ */
.info-chart--custom {
    background: linear-gradient(135deg, rgba(255,176,32,0.12), rgba(255,122,0,0.05)) !important;
    padding: 26px !important;
    border-bottom: 1px solid var(--border) !important;
}
.ic-card {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 24px 48px -28px rgba(0,0,0,0.6), inset 0 0 30px rgba(255,176,32,0.03);
    position: relative;
    overflow: hidden;
}
.ic-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hot), transparent);
}
.ic-card__top {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.ic-card__label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em;
}
.ic-card__dot {
    width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: hdrPulse 1.6s ease-in-out infinite;
}
.ic-card__time {
    font-size: 11px;
    color: var(--text-mute);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.ic-card__value {
    font-size: 48px; line-height: 1; font-weight: 800;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.ic-card__value span { font-size: 28px; opacity: 0.85; margin-left: 2px; }
.ic-card__sub {
    color: var(--text-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.ic-card__spark {
    width: 100%; height: 60px; display: block; margin-bottom: 14px;
}
.ic-card__row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding-top: 14px; border-top: 1px dashed rgba(255,176,32,0.18);
}
.ic-card__mini-label {
    color: var(--text-mute); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.ic-card__mini-val { color: var(--text); font-size: 16px; font-weight: 700; }

/* ============================================================
   info-item layout inside boxes — title BEFORE image, image polished
   ============================================================ */
.info-box .info-item__title { order: 1; margin-bottom: 14px !important; }
.info-box .info-item__body  { order: 2; }
.info-box .info-item { display: flex !important; flex-direction: column !important; }
.info-box .info-item__body .info-item__img {
    order: -1;
    margin: 0 0 16px !important;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(255,176,32,0.08), rgba(17,22,58,0.6));
}
.info-box .info-item__body .info-item__img img {
    object-fit: cover !important;
    width: 100% !important; height: 100% !important;
}

/* Better p sizing in cards */
.info-box .info-item__body p,
.info-box .info-item__body .font-18 {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: var(--text-dim) !important;
}

/* Button alignment in cards: full-width on narrow */
.info-box .info-item__body a.btn-orange {
    align-self: stretch !important;
    text-align: center !important;
    margin-top: auto !important;
}

/* ============================================================
   info-item top wide card — paddings + title size
   ============================================================ */
.info > .container > .info-item {
    padding: 32px 36px !important;
    margin-bottom: 28px !important;
}
.info > .container > .info-item .info-item__title h2 {
    font-size: 26px !important;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.info > .container > .info-item .info-item__body p {
    color: var(--text-dim) !important;
    font-size: 16px;
    line-height: 1.65;
}

/* ============================================================
   Info-row spacing on desktop
   ============================================================ */
.info-row { gap: 28px !important; }
@media (max-width: 900px) {
    .info-row { gap: 20px !important; }
    .info-box { padding-bottom: 0 !important; }
}
