/* ═══════════════════════════════════════
   bonuses.css — Bonuses Comparison Page
   ═══════════════════════════════════════ */

/* ─── HERO ─── */
.bonus-hero {
    text-align: center;
    padding: 80px 0 48px;
}

.bonus-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.bonus-hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.bonus-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.bonus-stat {
    background: var(--card-bg, #0f2a24);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 14px;
    padding: 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.bonus-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #22c55e;
}

.bonus-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ─── HIGHLIGHT CARDS (TOP 3) ─── */
.bonus-highlights {
    padding: 48px 0 56px;
}

.bonus-highlights h2 {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 36px;
}

.bonus-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--card-bg, #0f2a24);
    border: 1px solid rgba(34, 197, 94, 0.18);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}

/* Gold ribbon for #1 */
.highlight-card[data-rank="1"]::before {
    content: '🏆 #1 Bonus';
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.highlight-card[data-rank="2"]::before {
    content: '🥈 #2';
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(148,163,184,0.2);
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.highlight-card[data-rank="3"]::before {
    content: '🥉 #3';
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(180,130,80,0.15);
    color: #c49a56;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.highlight-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.highlight-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.highlight-bonus-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 4px;
}

.highlight-bonus-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.highlight-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.highlight-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.highlight-detail-label {
    color: rgba(255,255,255,0.5);
}

.highlight-detail-value {
    color: #fff;
    font-weight: 600;
}

.highlight-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #22c55e;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 0;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.highlight-cta:hover {
    background: #16a34a;
    transform: translateY(-1px);
}


/* ─── FULL COMPARISON TABLE ─── */
.bonus-comparison {
    padding: 48px 0 64px;
}

.bonus-comparison h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.bonus-comparison > p {
    color: rgba(255,255,255,0.5);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.bonus-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
    background: var(--card-bg, #0f2a24);
}

.bonus-table thead {
    background: rgba(34, 197, 94, 0.08);
}

.bonus-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    white-space: nowrap;
    user-select: none;
}

.bonus-table th.sortable {
    cursor: pointer;
    transition: color 0.2s ease;
}

.bonus-table th.sortable:hover {
    color: #22c55e;
}

.bonus-table th.sortable.active-sort {
    color: #22c55e;
}

.sort-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.6;
}

.bonus-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s ease;
}

.bonus-table tbody tr:hover {
    background: var(--card-bg-hover, #133028);
}

.bonus-table td {
    padding: 14px 16px;
    font-size: 0.92rem;
    color: #fff;
    vertical-align: middle;
}

.col-rank {
    width: 40px;
    text-align: center;
}

.bonus-table td.col-rank {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #22c55e;
    font-size: 1rem;
}

.td-bookmaker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.td-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.td-name {
    font-weight: 600;
    white-space: nowrap;
}

.td-bonus-numeric {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #22c55e;
}

.td-offer {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

.td-rollover {
    color: rgba(255,255,255,0.7);
    font-size: 0.86rem;
}

/* Color code rollovers */
.rollover-easy {
    color: #4ade80;
}

.rollover-medium {
    color: #facc15;
}

.rollover-hard {
    color: #f87171;
}

.td-deposit {
    white-space: nowrap;
}

.td-promo {
    font-family: monospace;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.td-promo.has-code {
    color: #f59e0b;
    font-style: normal;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
}

.td-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-bar-mini {
    width: 48px;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-mini-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 3px;
}

.td-rating-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
}

.td-cta {
    text-align: center;
}

.td-cta a {
    display: inline-block;
    background: #22c55e;
    color: #000;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.td-cta a:hover {
    background: #16a34a;
    transform: translateY(-1px);
}


/* ─── BONUS EXPLAINER ─── */
.bonus-explainer {
    padding: 64px 0;
}

.bonus-explainer h2 {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 40px;
}

.explainer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.explainer-card {
    background: var(--card-bg, #0f2a24);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.explainer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

.explainer-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 14px;
}

.explainer-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.explainer-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    line-height: 1.65;
}


/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .bonus-highlight-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .explainer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .bonus-hero {
        padding: 56px 0 36px;
    }

    .bonus-hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .bonus-stat {
        width: 100%;
        max-width: 260px;
    }
}
