/* =========================================================================
   bookmakers-bonus-main.css — основная страница бонусов букмекера (новый макет).
   Префикс .bt-bont, чтобы не задевать остальные страницы.
   ========================================================================= */

/* На широком PC вокруг белого контентного блока — обычный фон страницы,
   чтобы SEO-текст не лежал на белой полосе во всю ширину. */
@media screen and (min-width: 1101px) {
    body.bt-bont-page {
        background-color: #cbdde7;
    }
}

body.bt-bont-page #fixed.side_wrap {
    background: #fefefe;
}

/* SEO-текст в футере тестовой страницы — по ширине контента */
body.bt-bont-page .seo-text {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px;
    padding-right: 14px;
}

.bt-bont {
    --b-green: #169447;
    --b-green-dark: #0e7a39;
    --b-green-soft: #eaf7ee;
    --b-ink: #10233f;
    --b-ink-soft: #5d6b81;
    --b-muted: #8793a5;
    --b-line: #e3e9ef;
    --b-line-soft: #f0f4f8;
    --b-card: #ffffff;
    --b-radius: 18px;
    --b-shadow: 0 8px 26px rgba(16, 35, 63, .07);
    --b-shadow-sm: 0 3px 12px rgba(16, 35, 63, .05);
    width: 100%;
    max-width: 1120px;
    padding-left: 14px;
    padding-right: 14px;
    color: var(--b-ink);
}

.bt-bont--main {
    padding: 16px 18px 22px;
    border-radius: var(--b-radius);
    background: #ffffff;
    box-shadow: var(--b-shadow);
    margin-bottom: 20px;
}

.bt-bont *,
.bt-bont *::before,
.bt-bont *::after {
    box-sizing: border-box;
}

.bt-bont .breadcrumb {
    margin: 6px 0 12px !important;
    padding-left: 0 !important;
}

/* ---------- Шапка ---------- */
.bt-bont__hero {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 18px;
    padding: 22px 26px;
    border: 1px solid var(--b-line);
    border-radius: var(--b-radius);
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 65%, #f2fbf5 100%);
    box-shadow: var(--b-shadow);
}

.bt-bont__logo {
    grid-column: 1;
    grid-row: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 54px;
}

.bt-bont__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
}

@media screen and (min-width: 641px) {
    .bt-bont__logo {
        padding-right: 20px;
        border-right: 1px solid var(--b-line);
    }
}

.bt-bont__gift {
    grid-column: 2;
    grid-row: 1;
    flex: 0 0 auto;
    font-size: 38px;
    line-height: 1;
}

.bt-bont__hero-body {
    display: contents;
}

.bt-bont__hero h1 {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    color: var(--b-ink);
    font-size: clamp(25px, 3.2vw, 36px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.015em;
    text-align: left;
}

.bt-bont__hero p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 8px 0 0;
    color: var(--b-ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ---------- Показатели ---------- */
.bt-bont__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.bt-bont__stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    padding: 14px 20px;
    border: 1px solid var(--b-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--b-shadow-sm);
}

.bt-bont__stat-num {
    color: var(--b-ink);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.bt-bont__stat-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--b-green-soft);
    color: var(--b-green);
}

.bt-bont__stat-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.bt-bont__stat-label {
    color: var(--b-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.bt-bont__stat-note {
    display: block;
    margin-top: 2px;
    color: var(--b-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

/* ---------- Основной блок ---------- */
.bt-bont__layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

/* Левая колонка: главный бонус + условия */
.bt-bont__feature-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

@media screen and (min-width: 961px) {
    .bt-bont__feature-col {
        align-self: stretch;
    }
}

.bt-bont__feature-extra {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px 18px;
    border: 1px solid var(--b-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--b-shadow-sm);
}

.bt-bont__feature-extra h3 {
    margin: 0 0 8px;
    color: var(--b-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.bt-bont__feature-extra p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--b-ink-soft);
    font-size: 12.5px;
    line-height: 1.5;
}

.bt-bont__feature-extra-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.bt-bont__feature-extra-foot a {
    color: var(--b-green-dark) !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
}

.bt-bont__feature-extra-foot a:hover {
    text-decoration: underline !important;
}

.bt-bont__feature-extra-foot span {
    color: var(--b-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Главная карточка */
.bt-bont__feature {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid #c8e8d5;
    border-radius: var(--b-radius);
    background: linear-gradient(155deg, #f4fdf7 0%, #e8f8ee 70%, #dcf4e6 100%);
    box-shadow: var(--b-shadow);
}

.bt-bont__feature-gift {
    position: absolute;
    right: 14px;
    top: 46px;
    font-size: 86px;
    line-height: 1;
    pointer-events: none;
    transform: rotate(-8deg);
}

.bt-bont__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--b-green);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bt-bont__feature-title {
    position: relative;
    max-width: 80%;
    margin: 12px 0 0;
    text-align: left;
    color: var(--b-ink);
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.bt-bont__feature-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.bt-bont__feature-title a:hover {
    color: var(--b-green-dark) !important;
}

.bt-bont__feature-amount {
    position: relative;
    margin: 8px 0 0;
    color: var(--b-green);
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.02em;
}

.bt-bont__feature-text {
    position: relative;
    max-width: 90%;
    margin: 10px 0 0;
    color: var(--b-ink-soft);
    font-size: 13.5px;
    line-height: 1.5;
}

.bt-bont__promo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 7px 8px 7px 13px;
    border: 1px solid #c8e8d5;
    border-radius: 10px;
    background: rgba(255, 255, 255, .82);
}

.bt-bont__promo-label {
    color: var(--b-muted);
    font-size: 12px;
    font-weight: 700;
}

.bt-bont__promo-code {
    color: var(--b-green-dark);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .06em;
}

.bt-bont__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #c8e8d5;
    border-radius: 8px;
    background: #fff;
    color: var(--b-green);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.bt-bont__copy:hover {
    border-color: var(--b-green);
    background: var(--b-green-soft);
}

.bt-bont__copy svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.bt-bont__feature-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

/* Кнопки */
.bt-bont__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--b-green);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(22, 148, 71, .22);
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}

.bt-bont__btn:hover {
    background: var(--b-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(22, 148, 71, .28);
}

.bt-bont__btn-gift {
    font-size: 17px;
    line-height: 1;
}

.bt-bont__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 4px 2px;
    color: var(--b-ink-soft) !important;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
}

.bt-bont__more:hover {
    color: var(--b-green-dark) !important;
}

/* ---------- Список бонусов ---------- */
.bt-bont__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-bont__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--b-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--b-shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bt-bont__row:hover {
    border-color: #cfdae5;
    box-shadow: 0 8px 20px rgba(16, 35, 63, .08);
}

.bt-bont__row-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}

.bt-bont__row-title > a {
    color: var(--b-ink) !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none !important;
}

.bt-bont__row-title > a:hover {
    color: var(--b-green-dark) !important;
}

.bt-bont__type {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--b-green-soft);
    color: var(--b-green-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bt-bont__amount {
    color: var(--b-ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

@media screen and (min-width: 641px) {
    .bt-bont__amount {
        padding-left: 14px;
        border-left: 1px solid var(--b-line-soft);
    }

    .bt-bont__row-actions {
        padding-left: 14px;
        border-left: 1px solid var(--b-line-soft);
    }
}

.bt-bont__row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bt-bont__row-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--b-green);
    border-radius: 9px;
    background: var(--b-green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(22, 148, 71, .18);
    transition: background .15s ease, border-color .15s ease;
}

.bt-bont__row-btn:hover {
    border-color: var(--b-green-dark);
    background: var(--b-green-dark);
}

.bt-bont__row-more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--b-ink-soft) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
}

.bt-bont__row-more:hover {
    color: var(--b-green-dark) !important;
}

.bt-bont__empty {
    padding: 26px 20px;
    border: 1px dashed #cfdae5;
    border-radius: 14px;
    background: #fbfcfe;
    color: var(--b-ink-soft);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/* ---------- Адаптив ---------- */
@media screen and (max-width: 960px) {
    .bt-bont__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .bt-bont__feature-extra {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .bt-bont {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bt-bont--main {
        padding: 12px 10px 16px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .bt-bont__hero {
        align-items: flex-start;
        column-gap: 8px;
        row-gap: 6px;
        padding: 16px;
    }

    .bt-bont__logo {
        min-width: 90px;
        min-height: 40px;
        padding-right: 8px;
        border-right: 1px solid var(--b-line);
    }

    .bt-bont__logo img {
        max-width: 92px;
        max-height: 40px;
    }

    .bt-bont__gift {
        font-size: 22px;
    }

    #bt-bont-title {
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .bt-bont__hero p {
        display: none;
    }

    .bt-bont__stats {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 8px;
    }

    .bt-bont__stat {
        align-items: flex-start;
        gap: 8px;
        min-height: 64px;
        padding: 10px;
    }

    .bt-bont__stat:first-child {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }

    .bt-bont__stat-num {
        font-size: 24px;
    }

    .bt-bont__stat:first-child .bt-bont__stat-label {
        font-size: 11px;
    }

    .bt-bont__stat-label {
        font-size: 11.5px;
        line-height: 1.25;
    }

    .bt-bont__stat-note {
        display: none;
    }

    .bt-bont__stat:last-child .bt-bont__stat-note {
        display: block;
        margin-top: 1px;
        font-size: 10px;
        line-height: 1.25;
    }

    .bt-bont__stat-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .bt-bont__stat-icon svg {
        width: 18px;
        height: 18px;
    }

    .bt-bont__feature {
        padding: 18px;
    }

    .bt-bont__feature-title,
    .bt-bont__feature-text {
        max-width: 100%;
    }

    .bt-bont__feature-title {
        text-align: left;
    }

    .bt-bont__feature-gift {
        right: 4px;
        top: 32px;
        font-size: 66px;
    }

    .bt-bont__feature-actions {
        flex-wrap: nowrap;
    }

    .bt-bont__feature-actions .bt-bont__btn {
        flex: 0 1 auto;
        padding: 12px 16px;
        white-space: nowrap;
    }

    .bt-bont__feature-actions .bt-bont__more {
        white-space: nowrap;
    }

    .bt-bont__row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 8px 12px;
        padding: 12px 14px;
    }

    .bt-bont__row-title {
        grid-column: 1;
        grid-row: 1;
    }

    .bt-bont__amount {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        padding-left: 12px;
        border-left: 1px solid var(--b-line-soft);
        font-size: 15px;
        line-height: 1.25;
        text-align: right;
    }

    .bt-bont__row-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-end;
        gap: 10px;
        padding-left: 0;
        border-left: 0;
    }

    .bt-bont__row-btn {
        min-height: 40px;
        padding: 8px 14px;
        font-size: 12.5px;
    }

    .bt-bont__row-more {
        min-height: 40px;
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bt-bont__btn,
    .bt-bont__row,
    .bt-bont__copy {
        transition: none;
    }
}
