/* =====================================================
   BONUSES PAGE  —  bn- prefix
   ===================================================== */

/* ── Breadcrumb ── */
.bn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 24px;
}
.bn-breadcrumb a { color: #9ca3af; text-decoration: none; }
.bn-breadcrumb a:hover { color: #e8192c; }
.bn-breadcrumb svg { color: #4b5563; flex-shrink: 0; }

/* ── Hero ── */
.bn-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 60%, #1a0a0a 100%);
    border: 1px solid rgba(232,25,44,.18);
    border-radius: 16px;
    padding: 40px 36px;
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}
.bn-hero__title {
    font-size: 28px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0 0 10px;
}
.bn-hero__sub {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}
.bn-hero__stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}
.bn-hero__stat { text-align: center; }
.bn-hero__stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #e8192c;
}
.bn-hero__stat-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Filter bar ── */
.bn-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.bn-bar__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bn-filter-btn {
    background: #1f2937;
    border: 1px solid #374151;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.bn-filter-btn:hover { border-color: #e8192c; color: #f9fafb; }
.bn-filter-btn--active { background: rgba(232,25,44,.12); border-color: #e8192c; color: #e8192c; }

.bn-bar__sort { display: flex; align-items: center; gap: 8px; }
.bn-sort-label { font-size: 13px; color: #6b7280; }
.bn-sort-select {
    background: #1f2937;
    border: 1px solid #374151;
    color: #d1d5db;
    font-size: 13px;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

/* ── Disclaimer ── */
.bn-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 24px;
}
.bn-disclaimer svg { flex-shrink: 0; color: #9ca3af; }

/* ── Cards list ── */
.bn-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 48px;
}

/* ── Single card ── */
.bn-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: 160px 1fr 200px 170px;
    align-items: center;
    gap: 0 24px;
    position: relative;
    transition: border-color .15s, box-shadow .15s;
}
.bn-card:hover {
    border-color: rgba(232,25,44,.3);
    box-shadow: 0 4px 24px rgba(232,25,44,.07);
}
.bn-card--hidden { display: none; }

/* badge */
.bn-card__badge {
    position: absolute;
    top: -1px;
    right: 22px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 0 0 8px 8px;
    letter-spacing: .03em;
}
.bn-card__badge--red    { background: #e8192c; color: #fff; }
.bn-card__badge--green  { background: #16a34a; color: #fff; }
.bn-card__badge--yellow { background: #ca8a04; color: #fff; }

/* brand column */
.bn-card__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bn-card__logo-wrap {
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
    box-sizing: border-box;
}
.bn-card__logo {
    max-width: 92px;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.bn-card__logo-fallback {
    width: 52px;
    height: 36px;
    background: #e8192c;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}
.bn-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #f9fafb;
}
.bn-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
}
.bn-type-pill--welcome  { background: rgba(232,25,44,.12);  color: #e8192c; }
.bn-type-pill--freebet  { background: rgba(34,197,94,.1);   color: #22c55e; }
.bn-type-pill--cashback { background: rgba(59,130,246,.1);  color: #60a5fa; }
.bn-type-pill--nodeposit{ background: rgba(168,85,247,.1);  color: #c084fc; }
.bn-type-pill--reload   { background: rgba(234,179,8,.1);   color: #facc15; }

/* bonus info column */
.bn-card__info { padding: 0 4px; }
.bn-card__amount {
    font-size: 26px;
    font-weight: 800;
    color: #e8192c;
    line-height: 1;
    margin-bottom: 6px;
}
.bn-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 4px;
}
.bn-card__desc {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}
.bn-card__code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1f2937;
    border: 1px dashed #4b5563;
    border-radius: 6px;
    padding: 4px 10px;
}
.bn-card__code-label { font-size: 11px; color: #6b7280; }
.bn-card__code-val {
    font-size: 12px;
    font-weight: 700;
    color: #e8192c;
    cursor: pointer;
    letter-spacing: .06em;
}

/* terms column */
.bn-card__terms {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bn-term {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}
.bn-term svg { flex-shrink: 0; margin-top: 1px; }

/* actions column */
.bn-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.bn-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}
.bn-card__rating svg { color: #e8192c; }

.bn-btn-claim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e8192c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s, transform .1s;
    white-space: nowrap;
}
.bn-btn-claim:hover { background: #c0111f; transform: translateY(-1px); }

.bn-btn-review {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .15s, color .15s;
    white-space: nowrap;
}
.bn-btn-review:hover { border-color: #e8192c; color: #e8192c; }

/* ── Info block ── */
.bn-info-block {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 48px;
}
.bn-info-block__title {
    font-size: 18px;
    font-weight: 700;
    color: #f9fafb;
    margin: 0 0 20px;
}
.bn-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.bn-type-item {
    background: #0d1117;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 16px;
}
.bn-type-item__label {
    font-size: 13px;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 6px;
}
.bn-type-item__text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bn-card {
        grid-template-columns: 140px 1fr 170px;
        grid-template-rows: auto auto;
    }
    .bn-card__terms  { grid-column: 1 / 3; grid-row: 2; }
    .bn-card__actions{ grid-column: 3; grid-row: 1 / 3; align-self: center; }
    .bn-types-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .bn-hero { flex-direction: column; gap: 20px; }
    .bn-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
        padding: 20px;
    }
    .bn-card__terms  { grid-column: 1; grid-row: auto; }
    .bn-card__actions{ grid-column: 1; grid-row: auto; flex-direction: row; }
    .bn-btn-claim, .bn-btn-review { flex: 1; }
    .bn-card__amount { font-size: 22px; }
}
@media (max-width: 520px) {
    .bn-hero { padding: 24px 20px; }
    .bn-hero__stats { gap: 20px; }
    .bn-types-grid { grid-template-columns: 1fr; }
    .bn-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .bn-hero { padding: 18px 14px; }
    .bn-hero__title { font-size: 20px; }
    .bn-card { padding: 14px; }
    .bn-card__logo { width: 44px; height: 44px; font-size: 13px; }
    .bn-card__amount { font-size: 18px; }
    .bn-btn-claim, .bn-btn-review { font-size: 13px; padding: 9px 14px; }
    .bn-bar__tab { font-size: 12px; padding: 5px 10px; }
}
