/* =====================================================================
   BONUS PAGES — Minimum Deposit Hub / Country / Tier
   Uses existing Bonusario design tokens (main.css :root vars).
   ===================================================================== */

/* ----------------------- HUB HERO + OVERLAP ------------------------ */

/* Kicker pill above title on dark hero */
.bonus-hub-page .bonus-hub-head__kicker {
    display: inline-block;
    font-family: var(--second-family);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--shades-white);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

/* Overlap cards section onto dark hero (same trick as .all-casinos-section) */
.bonus-hub-page .archive-header.bg_header_box_top + section.bonus-countries-section {
    margin-top: -180px;
    padding-top: 50px;
    background-color: transparent;
}

.bonus-hub-page .bonus-countries-section .bonus-countries-grid {
    margin-top: 0;
}

/* -------------------------- COUNTRIES GRID ------------------------- */

.bonus-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    width: 100%;
}

.bonus-country-card {
    display: flex;
    flex-direction: column;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.08);
    overflow: hidden;
}

.bonus-country-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    padding: 20px 22px;
    border-bottom: 1px dashed var(--borders-main-border);
    transition: background-color .2s ease;
}

.bonus-country-card__head:hover {
    background-color: #f7faff;
}

.bonus-country-card__head:hover .bonus-country-card__title {
    color: var(--primary-blue);
}

.bonus-country-card__head:hover .bonus-country-card__arrow {
    background: var(--primary-blue);
    color: var(--shades-white);
    transform: translateX(4px);
}

.bonus-country-card__flag.fi {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-size: cover;
    background-position: 50%;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(14, 29, 58, 0.18),
                0 0 0 1px rgba(14, 29, 58, 0.06) inset;
}

.bonus-country-card__flag.fi::before {
    content: none;
}

.bonus-country-card__head-body {
    flex: 1;
    min-width: 0;
}

.bonus-country-card__title {
    font-family: var(--font-family);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
    transition: color .2s ease;
}

.bonus-country-card__meta {
    font-family: var(--second-family);
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.bonus-country-card__from {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 11px;
}

.bonus-country-card__meta strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 15px;
}

.bonus-country-card__arrow {
    color: var(--primary-blue);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(20, 128, 255, 0.08);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.bonus-country-card__filter {
    padding: 18px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bonus-country-card__filter-label {
    font-family: var(--second-family);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.bonus-country-card__tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bonus-country-card__tier-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: var(--shades-white);
    color: var(--primary-blue);
    border: 1.5px solid rgba(20, 128, 255, 0.25);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 16px;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all .2s cubic-bezier(.4, 0, .2, 1);
    min-width: 62px;
}

.bonus-country-card__tier-chip:hover {
    background: var(--primary-blue);
    color: var(--shades-white);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 128, 255, 0.25);
}

/* --------------------- COUNTRY PAGE HERO (centered + overlap) ------------------------ */

.bonus-country-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 8px 0 24px;
    gap: 16px;
}

.bonus-country-hero__author {
    margin: 0;
}

.bonus-country-hero__flag.fi {
    display: inline-block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-size: cover;
    background-position: 50%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                0 0 0 4px rgba(255, 255, 255, 0.08);
    margin: 8px 0 8px;
}

.bonus-country-hero__flag.fi::before {
    content: none;
}

.bonus-country-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--second-family);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 4px;
}

.bonus-country-hero__meta span {
    opacity: .5;
}

/* ----------------------- EDITOR'S TAKE (quote card) -------------------- */

.bonus-editor-take {
    padding-top: 50px !important;
    padding-bottom: 30px !important;
}

.bonus-editor-take__card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: center;
}

/* LEFT — author column (lightweight) */
.bonus-editor-take__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.bonus-editor-take__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--background-secondary);
    margin-bottom: 8px;
}

.bonus-editor-take__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-editor-take__author-name {
    font-family: var(--second-family);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
}

.bonus-editor-take__author-name:hover {
    color: var(--primary-blue);
}

.bonus-editor-take__author-role {
    font-family: var(--second-family);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.35;
    max-width: 180px;
}

.bonus-editor-take__author-pub {
    font-family: var(--second-family);
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 2px;
    opacity: .7;
}

/* RIGHT — opinion column */
.bonus-editor-take__body {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(20, 128, 255, 0.4);
}

.bonus-editor-take__label {
    display: inline-block;
    font-family: var(--second-family);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.bonus-editor-take__quote {
    display: none;
}

.bonus-editor-take__text {
    font-family: var(--second-family);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .bonus-editor-take__card {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bonus-editor-take__body {
        padding-left: 0;
        border-left: none;
        padding-top: 16px;
        border-top: 1px solid var(--borders-main-border);
    }
}

/* Vertical rhythm — country/tier pages */
.bonus-country-page section.bonus-country-tiers-section,
.bonus-country-page section#test__block,
.bonus-country-page section.top-section.section,
.bonus-tier-page section#test__block,
.bonus-tier-page section.top-section.section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.bonus-country-page section#test__block,
.bonus-tier-page section#test__block {
    margin-bottom: 0 !important;
}

/* Comparison table — more air above title, tight gap to table */
.bonus-country-page section#comparison,
.bonus-tier-page section#comparison {
    padding-top: 64px !important;
    padding-bottom: 40px !important;
}

.bonus-country-page section#comparison .section-top,
.bonus-tier-page section#comparison .section-top {
    margin-bottom: 0;
}

.bonus-country-page section#comparison .section-descr,
.bonus-tier-page section#comparison .section-descr {
    margin: 8px 0 12px;
}

.bonus-country-page section#comparison .pm-col,
.bonus-tier-page section#comparison .pm-col {
    padding: 0 28px 28px;
}

.bonus-country-page section#comparison .pm-table,
.bonus-tier-page section#comparison .pm-table {
    margin-top: 0;
}

/* Overlap tier-picker onto the dark hero (same trick as hub/all-casinos) */
.bonus-country-page .archive-header.bg_header_box_top + section.bonus-country-tiers-section {
    margin-top: -180px;
    padding-top: 50px;
    background-color: transparent;
}

.bonus-country-page .bonus-country-tiers-section .bonus-tiers-grid {
    margin-top: 0;
}

.bonus-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 28px;
}

.bonus-tier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    text-align: center;
    min-height: 170px;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.08);
}

.bonus-tier-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(20, 128, 255, 0.18);
}

.bonus-tier-card:hover .bonus-tier-card__cta {
    color: var(--primary-dark-blue);
}

.bonus-tier-card__amount {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.bonus-tier-card__label {
    font-family: var(--second-family);
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 16px;
}

.bonus-tier-card__cta {
    font-family: var(--second-family);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color .2s ease;
}

/* --------------------- COUNTRY CONTEXT ----------------------------- */

.bonus-country-context {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    padding: 28px;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.08);
    width: 100%;
    margin-top: 28px;
}

.bonus-country-context__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-country-context__label {
    font-family: var(--second-family);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
}

.bonus-country-context__value {
    font-family: var(--second-family);
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bonus-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--background-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--borders-main-border);
    border-radius: 6px;
    font-family: var(--second-family);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------------------------- CASINOS ------------------------------ */

.bonus-casino-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 28px;
}

.bonus-casino-card {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 140px;
    gap: 24px;
    align-items: center;
    padding: 20px;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.08);
}

.bonus-casino-card--row {
    grid-template-columns: 50px 80px 1fr 1.2fr 130px 140px;
}

.bonus-casino-card__rank {
    font-family: var(--font-family);
    font-size: 32px;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1;
    opacity: .6;
}

.bonus-casino-card__logo {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.bonus-casino-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bonus-casino-card__logo-placeholder {
    font-family: var(--font-family);
    font-size: 32px;
    color: var(--primary-blue);
    font-weight: 700;
}

.bonus-casino-card__name {
    font-family: var(--font-family);
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.bonus-casino-card__rating {
    font-family: var(--second-family);
    font-size: 14px;
    color: var(--tag-colors-hot-offer);
    font-weight: 700;
}

.bonus-casino-card__bonus {
    font-family: var(--second-family);
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.bonus-casino-card__bonus-label,
.bonus-casino-card__min-label {
    font-family: var(--second-family);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 6px;
}

.bonus-casino-card__bonus-value {
    font-family: var(--second-family);
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.bonus-casino-card__min-value {
    font-family: var(--font-family);
    font-size: 22px;
    color: var(--primary-blue);
    letter-spacing: 0.03em;
}

.bonus-casino-card__btn {
    width: 100%;
    text-align: center;
}

/* --------------- TIER HERO (2-column: content + visual card) --------------- */

/* Kill default hero bottom-margin + tighten top-section padding so cards sit close */
.bonus-tier-page .bonus-tier-hero {
    margin-bottom: 0;
}

.bonus-tier-page section.top-section.section {
    padding-top: 50px;
}

.bonus-tier-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.bonus-tier-hero__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding: 0;
}

.bonus-tier-hero__left .breadcrumbs,
.bonus-tier-hero__left .breadcrumbs-list {
    justify-content: flex-start;
    margin: 0;
}

.bonus-tier-hero__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--second-family);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.bonus-tier-hero__meta span {
    opacity: .5;
}

/* Flag as title icon (PIX uses img — we use fi class) */
.bonus-tier-hero__left .rh-title-icon.fi {
    display: inline-block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.12) inset,
                0 0 0 3px rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bonus-tier-hero__left .rh-title-icon.fi::before {
    content: none;
}

/* RIGHT — visual tier card */
.bonus-tier-hero__right {
    width: 100%;
}

.bonus-hero-card {
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.bonus-hero-card__head-label {
    font-family: var(--second-family);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
}

/* --- Tier ladder switcher --- */
.bonus-tier-ladder {
    margin-bottom: 28px;
    width: 100%;
}

.bonus-tier-ladder__track {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.bonus-tier-ladder__track::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 22px;
    right: 22px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 0;
}

.bonus-tier-ladder__point {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 4px;
}

.bonus-tier-ladder__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0b1330;
    border: 3px solid rgba(255, 255, 255, 0.25);
    transition: border-color .2s ease;
}

.bonus-tier-ladder__point:hover .bonus-tier-ladder__dot {
    border-color: var(--primary-blue);
}

.bonus-tier-ladder__point.is-active .bonus-tier-ladder__dot {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 5px rgba(20, 128, 255, 0.22),
                0 0 16px rgba(20, 128, 255, 0.6);
}

.bonus-tier-ladder__label {
    display: block;
    font-family: var(--font-family);
    font-size: 16px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    transition: color .2s ease;
    white-space: nowrap;
    text-align: center;
}

.bonus-tier-ladder__point:hover .bonus-tier-ladder__label {
    color: rgba(255, 255, 255, 0.9);
}

.bonus-tier-ladder__point.is-active .bonus-tier-ladder__label {
    color: var(--shades-white);
}

/* --- Selected tier amount block --- */
.bonus-hero-card__amount-wrap {
    text-align: center;
    padding: 6px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
}

.bonus-hero-card__amount {
    font-family: var(--font-family);
    font-size: 64px;
    line-height: 1;
    color: var(--shades-white);
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

.bonus-hero-card__amount-label {
    font-family: var(--second-family);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

/* --- Facts grid 2x2 --- */
.bonus-hero-card__facts {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.bonus-hero-card__facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--second-family);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    min-width: 0;
}

.bonus-hero-card__facts li > span:not(.bonus-hero-card__facts-icon):not(.bonus-hero-card__facts-flag) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bonus-hero-card__facts li strong {
    color: var(--shades-white);
    font-weight: 700;
}

.bonus-hero-card__facts-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--shades-white);
}

.bonus-hero-card__facts-icon svg {
    width: 16px;
    height: 16px;
}

.bonus-hero-card__facts li.is-accent .bonus-hero-card__facts-icon {
    background: rgba(97, 244, 0, 0.15);
    color: var(--secondary-glow-green);
}

.bonus-hero-card__facts-flag.fi {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-size: cover;
    background-position: 50%;
}

.bonus-hero-card__facts-flag.fi::before {
    content: none;
}

@media (max-width: 960px) {
    .bonus-tier-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .bonus-tier-hero__right {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .bonus-hero-card__amount {
        font-size: 54px;
    }
    .bonus-tier-cta-plate {
        flex-direction: column;
        align-items: stretch;
    }
    .bonus-tier-cta-plate__btn {
        width: 100%;
        text-align: center;
    }
}

/* ------------------------- HOW-TO / FAQ ---------------------------- */

.bonus-how-to-list {
    counter-reset: bonus-step;
    list-style: none;
    padding: 0;
    margin: 28px 0 0 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bonus-how-to-list li {
    counter-increment: bonus-step;
    position: relative;
    padding: 22px 22px 22px 72px;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 16px;
    font-family: var(--second-family);
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.06);
}

.bonus-how-to-list li::before {
    content: counter(bonus-step);
    position: absolute;
    left: 22px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: var(--shades-white);
    font-family: var(--font-family);
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(20, 128, 255, 0.3);
}

.bonus-empty-state {
    padding: 50px 40px;
    text-align: center;
    background: var(--shades-white);
    border: 1px dashed var(--borders-main-border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--second-family);
    width: 100%;
    font-size: 15px;
}

/* ----------------------- COMPARISON TABLE -------------------------- */

/* main.css .pm-row { display:flex } ломает <tr> — возвращаем table-row как на payment-method */
#comparison .pm-table__table .pm-row {
    display: table-row !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    align-items: initial !important;
}

#comparison .pm-table__table .pm-row--head {
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    color: inherit !important;
}

#comparison .pm-table__table tbody th,
#comparison .pm-table__table tbody td {
    padding: 12px 16px;
}

/* Payment icons row (only thing PIX template doesn't have — needed for new column) */
.bonus-compare-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bonus-compare-payments__item {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #d8dee9;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .15s ease;
}

a.bonus-compare-payments__item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 46, 101, 0.2);
    border-color: #1480FF;
}

.bonus-compare-payments__item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Casino cell — logo on dark badge + clickable name */
.bonus-casino-logo {
    background: #102E65 !important;
    border: 1px solid #1c3d7a !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px !important;          /* tighter box → bigger logo */
}
.bonus-casino-logo img {
    max-width: 100%;                  /* fill the box */
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
/* Trim the row cell padding so the logo can grow without taller rows */
#comparison .pm-table__table tbody th.pm-method-new {
    padding-top: 3px;
    padding-bottom: 3px;
}
.bonus-casino-name {
    transition: color .15s ease;
}
.bonus-casino-cell:hover .bonus-casino-name {
    color: #1480FF;
}

/* ----------------------- RICH TIER NAV (bottom) -------------------- */

.bonus-tiers-grid--rich {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.bonus-rich-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 36px 24px 24px;
    background: linear-gradient(180deg, var(--shades-white) 0%, #f8fbff 100%);
    border: 1px solid var(--borders-main-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 4px 24px 0 rgba(14, 29, 58, 0.06);
    overflow: hidden;
    text-align: center;
    isolation: isolate;
}

.bonus-rich-tier:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.bonus-rich-tier.is-empty {
    opacity: .5;
    pointer-events: none;
}

.bonus-rich-tier__amount {
    font-family: var(--font-family);
    font-size: 58px;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.bonus-rich-tier__label {
    font-family: var(--second-family);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.bonus-rich-tier__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 18px;
    border-top: 1px solid var(--borders-main-border);
    width: 100%;
    justify-content: center;
    transition: all .25s ease;
}

.bonus-rich-tier__arrow {
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20, 128, 255, 0.1);
}

/* Casino-name anchor — plain text styling (no blue link look) */
.bonus-tier-page .pm-method-new a.icons_p {
    text-decoration: none;
    color: inherit;
}

.bonus-tier-page .pm-method-new a.icons_p p {
    color: inherit;
    font-weight: inherit;
}

/* Force flex on anchor (default <a> is inline; PIX uses <div> so works natively) */
.bonus-tier-page .pm-method-new .icons_p {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Welcome bonus — badge + max 2 lines */
.bonus-tier-trim {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 140%;
    max-height: calc(1.4em * 2 + 16px);
    word-break: break-word;
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1480ff 0%, #005cc7 100%);
    border: none;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
}

/* Distribute columns evenly across full table width */
.bonus-tier-page .pm-table__table {
    table-layout: fixed;
    width: 100%;
}

.bonus-tier-page .pm-table__table thead th:nth-child(1),
.bonus-tier-page .pm-table__table tbody th:first-child {
    width: 22%;
}

.bonus-tier-page .pm-table__table thead th:nth-child(2),
.bonus-tier-page .pm-table__table tbody td:nth-child(2) {
    width: 12%;
    white-space: nowrap;
}

.bonus-tier-page .pm-table__table thead th:nth-child(3),
.bonus-tier-page .pm-table__table tbody td:nth-child(3) {
    width: 16%;
    overflow: visible;
}

.bonus-tier-page .pm-table__table thead th:nth-child(4),
.bonus-tier-page .pm-table__table tbody td:nth-child(4) {
    width: 30%;
    text-align: center;
}

.bonus-tier-page .pm-table__table thead th:nth-child(5),
.bonus-tier-page .pm-table__table tbody td:nth-child(5) {
    width: 20%;
}

.bonus-tier-page .pm-method-new .icons_p p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    margin: 0;
}

.bonus-tier-page .pm-method-new .icons_p {
    min-width: 0;
    max-width: 100%;
}

/* Kill hover on tbody rows; keep table header unchanged */
.bonus-tier-page .pm-row:not(.pm-row--head):hover,
.bonus-tier-page .pm-row:not(.pm-row--head):hover td,
.bonus-tier-page .pm-row:not(.pm-row--head):hover th {
    background-color: transparent !important;
}

#comparison .pm-table__table thead tr:hover th,
#comparison .pm-table__table .pm-row--head:hover th {
    background: #005cc7 !important;
    color: #fff !important;
}

/* Rating cell in compare table — compact rh-stars */
.bonus-compare-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.bonus-compare-rating .rh-stars {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 16px;
}

.bonus-compare-rating .reviews-slider__stars--back,
.bonus-compare-rating .reviews-slider__stars-row {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bonus-compare-rating .rh-stars img {
    width: 96px;
    height: 16px;
    display: block;
}

.bonus-compare-rating .rh-rating__val {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.bonus-compare-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bonus-compare-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.06);
    font-family: var(--second-family);
}

.bonus-compare-table thead th {
    background: var(--background-secondary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--borders-main-border);
}

.bonus-compare-table tbody td {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--borders-main-border);
    vertical-align: middle;
}

.bonus-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.bonus-compare-table tbody tr:hover {
    background: rgba(20, 128, 255, 0.03);
}

.bonus-compare-table__casino {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
}

.bonus-compare-table__casino img {
    width: 60px;
    height: 32px;
    object-fit: contain;
    background: var(--background-secondary);
    border-radius: 6px;
    padding: 4px;
}

.bonus-compare-table__casino:hover span {
    color: var(--primary-blue);
}

/* -------------------- LEGAL / DISCLOSURE BLOCK --------------------- */

.bonus-legal-section {
    padding-bottom: 64px;
}

.bonus-legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.bonus-legal__col {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    background: var(--shades-white);
    border: 1px solid var(--borders-main-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(14, 29, 58, 0.04);
}

.bonus-legal__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--background-secondary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.03em;
}

.bonus-legal__title {
    font-family: var(--font-family);
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.bonus-legal__body p {
    font-family: var(--second-family);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.bonus-legal__body a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.bonus-legal__body a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bonus-legal {
        grid-template-columns: 1fr;
    }
}

/* -------------------------- RESPONSIVE ----------------------------- */

@media (max-width: 960px) {
    .bonus-casino-card,
    .bonus-casino-card--row {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .bonus-casino-card__logo {
        margin: 0 auto;
    }

    .bonus-how-to-list {
        grid-template-columns: 1fr;
    }

    .bonus-hero-card__amount {
        font-size: 40px;
    }

    .bonus-country-hero__flag.fi {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 640px) {
    .bonus-countries-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bonus-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bonus-country-card__head {
        padding: 16px 18px;
        gap: 12px;
    }

    .bonus-country-card__filter {
        padding: 16px 18px 18px;
    }

    .bonus-country-card__flag.fi {
        width: 44px;
        height: 44px;
    }

    .bonus-country-card__title {
        font-size: 22px;
    }
}
