/* Variables - Charte ECWM */
:root {
    /* Couleurs du club */
    --primary: #001933;           /* Bleu NAUTIC (100,75,50,60) */
    --primary-light: #003366;     /* Bleu plus clair pour les dégradés */
    --primary-lighter: #004d99;   /* Bleu encore plus clair */
    --accent: #E60017;            /* Rouge 149B (0,100,90,10) */
    --accent-light: #FF1A2F;      /* Rouge plus clair pour hover */

    /* Podium */
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --silver: #C0C0C0;
    --silver-dark: #A8A8A8;
    --bronze: #CD7F32;
    --bronze-light: #E89B5C;

    /* Neutres */
    --bg: #F5F7FA;
    --surface: #FFFFFF;
    --text: #001933;              /* Texte en bleu marine */
    --text-muted: #4A5568;
    --border: #E2E8F0;
    --shadow: rgba(0, 25, 51, 0.1);
    --shadow-accent: rgba(230, 0, 23, 0.15);

    /* Backgrounds info */
    --bg-info: #E6F0FF;
    --bg-warning: #FFF5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: linear-gradient(rgba(0, 25, 51, 0.55), rgba(0, 25, 51, 0.55)),
                url('banner.png') top/cover no-repeat;
    color: white;
    padding: 5rem 2rem;
    border-radius: 0 0 1.5rem 1.5rem;
    margin: 0 -1rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--accent) 100%);
    opacity: 0.1;
    pointer-events: none;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.last-update {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
}

.tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading */
.loading {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.stat {
    background: var(--surface);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px var(--shadow);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Podium */
.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
}

.podium-item {
    background: var(--surface);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px var(--shadow);
    text-align: center;
    transition: all 0.2s;
}

.podium-item:hover {
    transform: translateY(-4px);
}

.podium-item.rank-1 {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border: 3px solid var(--gold);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
    margin-top: -40px;
    padding: 1.75rem 1rem;
}

.podium-item.rank-2 {
    background: linear-gradient(135deg, #E8E8E8 0%, var(--silver) 100%);
    border: 3px solid var(--silver-dark);
    box-shadow: 0 6px 12px rgba(192, 192, 192, 0.3);
    margin-top: -20px;
}

.podium-item.rank-3 {
    background: linear-gradient(135deg, var(--bronze-light) 0%, var(--bronze) 100%);
    border: 3px solid var(--bronze);
    box-shadow: 0 6px 12px rgba(205, 127, 50, 0.3);
    margin-top: 0;
}

.podium-item.rank-1:hover {
    margin-top: -44px;
}

.podium-item.rank-2:hover {
    margin-top: -24px;
}

.podium-item.rank-3:hover {
    margin-top: -4px;
}

.podium-medal {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.podium-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.podium-points {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* Classement */
.classement {
    background: var(--surface);
    border-radius: 1rem;
    box-shadow: 0 1px 3px var(--shadow);
    overflow: hidden;
}

.coureur-item {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.coureur-item:last-child {
    border-bottom: none;
}

.coureur-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
}

.coureur-header:hover {
    background: var(--bg);
}

.coureur-rank {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
    min-width: 2.5rem;
}

.coureur-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.125rem;
}

.coureur-courses-badge {
    background: var(--bg);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 2rem;
    text-align: center;
}

.coureur-points {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 5rem;
    text-align: right;
}
    color: var(--accent);
    min-width: 5rem;
    text-align: right;
}

.expand-icon {
    color: var(--text-muted);
    transition: transform 0.2s;
}

.coureur-item.expanded .expand-icon {
    transform: rotate(90deg);
}

.coureur-details {
    padding: 1rem 1.5rem 1.5rem 5rem;
    background: var(--bg);
    display: none;
}

.coureur-item.expanded .coureur-details {
    display: block;
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.courses-table th {
    text-align: left;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.courses-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.course-objectif {
    color: var(--accent);
    font-weight: 700;
}

/* Barème */
.bareme-section h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary);
}

.formula-box {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px var(--shadow);
    margin-bottom: 2rem;
    text-align: center;
}

.formula {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    padding: 1rem;
    background: var(--bg);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.bareme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bareme-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px var(--shadow);
}

.bareme-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.bareme-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.bareme-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.bareme-note {
    background: var(--bg-warning);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border-left: 3px solid var(--accent);
    color: var(--text);
}

.coef-table, .bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.coef-table td, .bonus-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.coef-table td:last-child, .bonus-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--accent);
}

.example-box {
    background: var(--bg-info);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

.example-box h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.example-calc {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.example-calc p {
    margin-bottom: 0.5rem;
}

.example-calc hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid var(--border);
}

.example {
    background: var(--bg);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Courses filters */
.courses-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-group + .filter-group {
    padding-left: 0.75rem;
    border-left: 2px solid var(--border);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    user-select: none;
    transition: all 0.15s;
}

.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.filter-chip.active-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.courses-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.courses-table th.sortable:hover { color: var(--primary); }

/* Courses */
.courses-table {
    width: 100%;
    border-collapse: collapse;
}

.courses-table th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.courses-table td {
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 0.9rem;
}

.courses-table tbody tr:hover {
    background: var(--bg);
}

.discipline-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--primary);
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 3rem;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.heart {
    color: var(--accent);
}

/* Badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Badges compacts (dans le header replié) */
.badges-compact {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.badge-emoji {
    font-size: 1.125rem;
}

.badge-emoji-large {
    font-size: 2rem;
}

.badges-compact .badge-emoji {
    font-size: 1.25rem;
    padding: 0.375rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px var(--shadow);
    cursor: help;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
}

.badges-compact .badge-emoji:hover {
    transform: scale(1.15);
}

/* Badges détaillés (dans le contenu déplié) */
.badges-detailed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--surface);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px var(--shadow);
}

.badge-info-detailed {
    flex: 1;
}

.badge-name-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.badge-level {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.badge-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.badge-bonus {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    background: #FFF3CD;
    color: #856404;
    border-radius: 0.375rem;
}

/* Barre de progression */
.badge-progress {
    margin-top: 0.5rem;
}

/* Ancienne version (pour compatibilité) */
.progress-bar {
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Nouvelle version améliorée */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar-enhanced {
    flex: 1;
    height: 20px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    position: relative;
    border: 1px solid var(--border);
}

.progress-fill-enhanced {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 24px;
}

.progress-empty-enhanced {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.progress-current-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.progress-remaining-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-target-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    min-width: 100px;
    text-align: left;
}

/* Description inline avec le nom du badge */
.badge-desc-inline {
    font-weight: normal;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 1px 3px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: help;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.badge-niveau {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-left: 0.125rem;
}

/* Couleurs par niveau */
.badge.niveau-bronze {
    background: linear-gradient(135deg, var(--bronze-light) 0%, var(--bronze) 100%);
    color: white;
}

.badge.niveau-argent {
    background: linear-gradient(135deg, #E8E8E8 0%, var(--silver) 100%);
    color: var(--text);
}

.badge.niveau-or {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--text);
}

.badge.niveau-platine {
    background: linear-gradient(135deg, #E0F2FE 0%, #0EA5E9 100%);
    color: white;
}

.badge.niveau-diamant {
    background: linear-gradient(135deg, #FAE8FF 0%, #C026D3 100%);
    color: white;
}

.badge.niveau-unique {
    background: linear-gradient(135deg, var(--bg-info) 0%, #BFDBFE 100%);
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Couleurs pour badges compacts */
.badges-compact .badge-emoji.niveau-bronze {
    background: linear-gradient(135deg, var(--bronze-light) 0%, var(--bronze) 100%);
}

.badges-compact .badge-emoji.niveau-argent {
    background: linear-gradient(135deg, #E8E8E8 0%, var(--silver) 100%);
}

.badges-compact .badge-emoji.niveau-or {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.badges-compact .badge-emoji.niveau-platine {
    background: linear-gradient(135deg, #E0F2FE 0%, #0EA5E9 100%);
}

.badges-compact .badge-emoji.niveau-diamant {
    background: linear-gradient(135deg, #FAE8FF 0%, #C026D3 100%);
}

.badges-compact .badge-emoji.niveau-unique {
    background: linear-gradient(135deg, var(--bg-info) 0%, #BFDBFE 100%);
    border: 2px solid var(--primary);
}

/* Couleurs pour badge-emoji-large et badge-level */
.badge-emoji-large.niveau-bronze {
    background: linear-gradient(135deg, var(--bronze-light) 0%, var(--bronze) 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.badge-emoji-large.niveau-argent {
    background: linear-gradient(135deg, #E8E8E8 0%, var(--silver) 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.badge-emoji-large.niveau-or {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.badge-emoji-large.niveau-platine {
    background: linear-gradient(135deg, #E0F2FE 0%, #0EA5E9 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.badge-emoji-large.niveau-diamant {
    background: linear-gradient(135deg, #FAE8FF 0%, #C026D3 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.badge-emoji-large.niveau-unique {
    background: linear-gradient(135deg, var(--bg-info) 0%, #BFDBFE 100%);
    padding: 0.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--primary);
}

.badge-level.niveau-bronze { background: var(--bronze); color: white; }
.badge-level.niveau-argent { background: var(--silver); color: var(--text); }
.badge-level.niveau-or { background: var(--gold); color: var(--text); }
.badge-level.niveau-platine { background: #0EA5E9; color: white; }
.badge-level.niveau-diamant { background: #C026D3; color: white; }

/* Tooltip pour les badges */
.badge[title] {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 2.5rem 1.5rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .podium {
        display: none;
    }

    .coureur-header {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .coureur-header .badges-compact {
        display: none;
    }

    .coureur-rank {
        font-size: 1rem;
        min-width: 2rem;
    }

    .coureur-name {
        font-size: 1rem;
    }

    .coureur-points {
        font-size: 1.125rem;
        min-width: auto;
    }

    .coureur-stats {
        flex-basis: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .coureur-details {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .courses-table {
        font-size: 0.8rem;
        table-layout: fixed;
        width: 100%;
    }

    .courses-table td {
        word-break: break-word;
        white-space: normal;
    }

    .badge-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .badge-emoji-large {
        display: none;
    }

    .badge-info-detailed {
        width: 100%;
        min-width: 0;
    }

    .progress-bar-container {
        max-width: 100%;
    }

    .progress-bar-enhanced {
        min-width: 0;
    }

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

    .badges-container {
        gap: 0.375rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .badge-emoji {
        font-size: 1rem;
    }
}

/* ============================================
   Badges Tab - Section explicative
   ============================================ */
.badges-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge-category {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
}

.badge-category h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.category-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.badges-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-explanation {
    background: var(--bg);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--primary-light);
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.badge-icon {
    font-size: 2rem;
}

.badge-info h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.badge-levels {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.badge-level {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--surface);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-level.bronze { color: #CD7F32; }
.badge-level.argent { color: #A8A8A8; }
.badge-level.or { color: #FFD700; }
.badge-level.platine { color: #A0B2C6; }
.badge-level.diamant { color: #B9F2FF; }

.badge-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.badge-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.badge-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.badge-detail-value {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.badge-detail-value.bonus {
    color: var(--accent);
}

