/* Aviator Hack — Live Multiplier Tracker (черно-белый блок) */

.section#multipliers,
section#multipliers {
    background: #000;
    color: #f5f5f5;
    padding: 60px 0;
}

#multipliers .section__text { margin-bottom: 32px; text-align: center; }
#multipliers .section__title,
#multipliers .section__title.h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
#multipliers .section__descr p {
    color: #b5b5b5;
    font-size: 15px;
    line-height: 1.55;
    max-width: 760px;
    margin: 0 auto;
}

/* Tabs */
#multipliers .tabs__nav {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 6px;
}
#multipliers .tabs__btn {
    background: transparent;
    border: 0;
    color: #aaa;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}
#multipliers .tabs__btn:hover { color: #fff; background: #1a1a1a; }
#multipliers .tabs__btn._active {
    color: #000;
    background: #fff;
}

#multipliers .tabs__pane { display: none; }
#multipliers .tabs__pane._active { display: block; }

/* History-box (контейнер графика и статистики) */
#multipliers .history-box {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px;
}

/* Header строка статистики */
#multipliers .history__header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1f1f1f;
}
#multipliers .history__col {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}
#multipliers .history__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 64px;
    margin: 0;
}
#multipliers .history__stat-label {
    color: #888;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}
#multipliers .history__stat-val {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

/* Иконки в статистике — все белые (override .ag цветов) */
#multipliers .history__stat-icon,
#multipliers .history__trend-arrow,
#multipliers .history__stat[data-theme] .history__stat-icon {
    width: 12px;
    height: 12px;
    fill: #fff;
    stroke: #fff;
}
#multipliers .history__stat[data-theme="success"] .history__stat-val,
#multipliers .history__stat[data-theme="danger"] .history__stat-val {
    color: #fff;  /* без зелёного/красного — всё белое */
}

/* Селектор "Last N Rounds" */
#multipliers .history__size-select {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath d='M5 8l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

/* Chart sizing */
#multipliers .history__chart {
    width: 100%;
    height: 320px;
    background: #050505;
    border-radius: 10px;
    padding: 12px 8px;
}

#multipliers .history__footer { display: none; }

/* Statistics tab — placeholders */
#multipliers .loading-spinner,
#multipliers .loading-placeholder {
    color: #888;
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
}

/* Predictor tab — login CTA */
#multipliers .login-cta {
    text-align: center;
    padding: 40px 20px;
}
#multipliers .login-cta__icon {
    width: 48px;
    height: 48px;
    fill: #fff;
    margin: 0 auto 16px;
    display: block;
}
#multipliers .login-cta .brand-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
#multipliers .login-cta p {
    color: #aaa;
    font-size: 14px;
    margin: 0 0 18px;
}
#multipliers .login-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 30px;
    transition: opacity .15s;
}
#multipliers .login-cta__btn:hover { opacity: 0.88; }
#multipliers .login-cta__btn .icon {
    width: 16px;
    height: 16px;
    fill: #000;
}

/* SVG-recharts (chart.js рисует через recharts/svg) — переопределяем цвета */
#multipliers .history__chart svg .recharts-cartesian-axis-tick text,
#multipliers .history__chart svg text { fill: #888; }
#multipliers .history__chart svg .recharts-cartesian-grid line { stroke: #1a1a1a; }
#multipliers .history__chart svg .recharts-line-curve { stroke: #fff; }
#multipliers .history__chart svg .recharts-dot { fill: #fff; stroke: #000; }

/* Mobile */
@media (max-width: 600px) {
    .section#multipliers,
    section#multipliers { padding: 40px 0; }
    #multipliers .section__title { font-size: 24px; }
    #multipliers .history-box { padding: 14px; }
    #multipliers .history__header { flex-direction: column; align-items: stretch; gap: 14px; }
    #multipliers .history__chart { height: 260px; }
    #multipliers .tabs__btn { padding: 9px 14px; font-size: 13px; }
}

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

/* ===== Article section (long SEO text) ===== */
.article-section {
    background: #000;
    color: #e8e8e8;
    padding: 50px 0 70px;
    position: relative;
}
.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: #cfcfcf;
}
.article__title {
    color: #25BD68 !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin: 40px 0 16px !important;
    font-weight: 800;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid #25BD68;
}
.article__title:first-child { margin-top: 0 !important; }

/* Features list — green checkmarks */
.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: #e8e8e8;
    font-size: 15px;
    line-height: 1.5;
}
.article__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: #25BD68;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%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-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 600px) {
    .article__features { grid-template-columns: 1fr; }
}

/* ===== FAQ accordion ===== */
.faq {
    margin: 8px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq__item {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s;
}
.faq__item[open] {
    border-color: #25BD68;
}
.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 14px 44px 14px 18px;
    color: #fff;
    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: #25BD68;
    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: #c8c8c8;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Final CTA block ===== */
.final-cta {
    margin-top: 44px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #0a0a0a, #111);
    border: 1px solid #25BD68;
    border-radius: 14px;
    text-align: center;
}
.final-cta .article__title {
    border-left: none;
    padding-left: 0;
    margin-top: 0 !important;
}
.final-cta__buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}
.final-cta__buttons .btn-orange { min-width: 200px; }
@media (max-width: 600px) {
    .final-cta { padding: 24px 16px; }
    .final-cta__buttons { width: 100%; flex-direction: column; }
    .final-cta__buttons .btn-orange { width: 100%; }
}

/* Single-column features list (для info-box версии) */
.article__features--single { grid-template-columns: 1fr !important; }

/* ===== Language switcher (footer) ===== */
.lang-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
}
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #0a0a0a;
    transition: border-color .15s, color .15s, background .15s;
}
.lang-switcher__item:hover {
    border-color: #25BD68;
    color: #fff;
    background: #111;
}
.lang-switcher__item--active {
    border-color: #25BD68;
    color: #25BD68;
    background: rgba(37,189,104,0.08);
}

/* ===== Related guides block ===== */
.related-guides {
    margin: 36px 0 28px;
    padding: 24px 26px;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-left: 4px solid #25BD68;
    border-radius: 12px;
}
.related-guides h2,
.related-guides .article__title {
    margin-top: 0 !important;
    border-left: none !important;
    padding-left: 0 !important;
    font-size: 22px !important;
}
.related-guides__list {
    list-style: none; padding: 0; margin: 14px 0 0;
    display: flex; flex-direction: column; gap: 10px;
}
.related-guides__list li {
    color: #cfcfcf; font-size: 15px; line-height: 1.55;
    padding-left: 22px; position: relative;
}
.related-guides__list li::before {
    content: "→"; color: #25BD68; position: absolute;
    left: 0; top: 0; font-weight: 700;
}
.related-guides__list a {
    color: #25BD68; font-weight: 700; text-decoration: none;
}
.related-guides__list a:hover { text-decoration: underline; }
[dir="rtl"] .related-guides {
    border-left: 1px solid #1f1f1f;
    border-right: 4px solid #25BD68;
}
[dir="rtl"] .related-guides__list li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .related-guides__list li::before { left: auto; right: 0; content: "←"; }

/* Inline article links: turn body keyword anchors green */
.article a, .info-item__body a, .hero a:not(.btn) {
    color: #25BD68; text-decoration: underline; text-underline-offset: 2px;
}
.article a:hover, .info-item__body a:hover { opacity: 0.85; }
