/* =========================================
   VARIABLES DE COLOR (Base #823838)
   ========================================= */
:root {
    --rojo-base: #823838;
    --rojo-oscuro: #4a1c1c;
    --rojo-claro: #a34b4b;
    --fondo: #f4f1f1;
    --blanco: #ffffff;
    --dorado: #FFD700;
    --texto: #333333;
}

/* =========================================
   ÍNDICE DE SECCIONES
   -----------------------------------------
   1. Configuración general
   2. Navbar & branding
   3. Nav links & botones
   4. Buscadores (hero & eventos)
   5. Tablas responsive
   6. Perfil del rider
   7. Puntos y medallas
   8. Media queries generales
   9. País / banderas / país corto-largo
  10. Footer estilizado
  11. Logros / achievements
  12. Listín alfabético de riders
   ========================================= */

/* =========================================
   CONFIGURACIÓN GENERAL
   ========================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--fondo);
    margin: 0;
    color: var(--texto);
    overflow-x: hidden;
}

.main-container {
    max-width: 1100px;
    margin: 20px auto;
    background: var(--blanco);
    border-radius: 15px;
    overflow: visible !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   NAVBAR & BRANDING
   ========================================================================== */
:root {
    --nav-bg: #1a1a1a;
    /* Fondo oscuro para que resalte el blanco */
    --nav-text: #ffffff;
    --nav-height-expanded: 50px;
}

.navbar {
    background-color: var(--nav-bg);
    min-height: var(--nav-height-expanded);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Branding: RESULTS | LOGO */
.nav-branding {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-branding:hover {
    transform: scale(1.02);
    /* Un pequeño latido al pasar el ratón */
}

.results-text {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-separator {
    width: 1px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
}

.nav-logo-img {
    height: 35px;
    width: auto;
    display: block;
}

/* ==========================================================================
   NAV LINKS & BUTTONS
   ========================================================================== */
.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-btn {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--rojo-base);
    /* Fondo rojo al pasar el ratón */
    color: #ffffff;
    /* Texto en blanco para mejor contraste */
}

/* Responsivo básico */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .nav-separator {
        display: none;
    }

    /* Quitamos separador en móvil para ahorrar espacio */
    .nav-branding {
        flex-direction: column;
        gap: 10px;
    }

    .nav-logo-img {
        height: 60px;
    }

    /* Logo más pequeño en móvil */
    .results-text {
        font-size: 1.5rem;
    }
}

/* =========================================
   BUSCADORES (HERO & EVENTOS)
   ========================================= */
.search-hero,
.search-box {
    background-color: var(--rojo-base);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
}

.search-box--tall {
    margin-bottom: 30px;
}

.page-hero-title {
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    font-size: 1.8rem;
}

.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.modern-search-box,
.modern-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 60px;
}

.search-controls,
.modern-form {
    display: flex;
    background: white;
    padding: 5px 10px 5px 25px;
    border-radius: 50px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.control-group {
    display: flex;
    align-items: center;
    flex: 1;
}

.control-group i {
    color: var(--rojo-base);
    margin-right: 10px;
}

.control-group input,
.control-group select {
    border: none;
    outline: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    /* Evita zoom en iOS */
    background: transparent;
}

.search-divider {
    padding: 0 15px;
    color: #ccc;
    font-weight: bold;
    font-size: 0.7rem;
}

.btn-search-main {
    background: var(--rojo-base);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

/* =========================================
   TABLAS RESPONSIVE
   ========================================= */
.results-area {
    padding: 0px 20px 20px 20px;
    overflow-x: auto;

}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

th {
    color: var(--rojo-base);
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 10px;
    background: #f8f8f8;
}

tbody tr {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

tbody tr:hover {
    transform: translateY(-3px);
    border-left: 5px solid var(--rojo-base);
}

td {
    padding: 15px;
    text-align: center;
}

/* =========================================
   PERFIL DEL RIDER
   ========================================= */
.profile-card {
    background: var(--rojo-oscuro);
    color: white;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 5px solid var(--rojo-base);
}

.photo-box {
    width: 140px;
    height: 140px;
    background: var(--rojo-claro);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    flex-shrink: 0;
}

.category-title {
    cursor: pointer;
    background: #ececec;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

/* =========================================
   PUNTOS Y MEDALLAS
   ========================================= */
.goldDot,
.silverDot,
.bronzeDot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
}

.goldDot {
    background: var(--dorado);
    color: #5a4a00;
}

.silverDot {
    background: #C0C0C0;
}

.bronzeDot {
    background: #cd7f32;
    color: #fff;
}

/* =========================================
   MEDIA QUERIES (PARA MÓVILES)
   ========================================= */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        font-size: 0.75rem;
        gap: 10px;
    }

    .modern-search-box,
    .modern-form {
        border-radius: 20px;
        padding: 10px;
    }

    .search-controls,
    .modern-form {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }

    .search-divider {
        margin: 10px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        padding-bottom: 10px;
    }

    .btn-search-main {
        width: 100%;
        margin-top: 10px;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
    FOOTER ESTILIZADO
    ========================================= */
/* Contenedor general que hace de layout en columna y "pega" el footer abajo */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Este contenedor "empuja" al footer hacia abajo */
.content-wrapper {
    flex: 1 0 auto;
    /* Crece para ocupar el espacio disponible */
}

.main-footer {
    background-color: #0a0a0a;
    /* Fondo negro premium */
    border-top: 1px solid #1a1a1a;
    margin-top: 20px;
    text-align: center;
}

.footer-container p {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 15px 0;
    /* Margen inferior para separar de la imagen */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-container p strong {
    color: #fff;
    /* Resalta el nombre de la web */
}

.footer-container p span {
    color: #999;
    /* Color suave para tu nombre */
}

/* Contenedor de la imagen para forzar el salto de línea */
.footer-logo-wrapper {
    display: block;
    margin-top: 10px;
}

.footer-logo-rc {
    height: 40px;
    /* Tamaño exacto solicitado */
    width: auto;
    border-radius: 4px;
    filter: grayscale(1);
    /* Estética minimalista */
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.footer-logo-rc:hover {
    filter: grayscale(0);
    /* Recupera su color original */
    opacity: 1;
    transform: scale(1.05);
    /* Pequeño zoom */
}

/* Adaptación para móviles */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
    }
}


/* CONTENEDOR ROJO DE LOGROS */
/* CONTENEDOR DE LOGROS */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 20px;

}

.achievements-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    background: transparent;
    padding: 0;
    gap: 20px;
}

.stat-card {
    background: #e3e3e3;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid #222;

}

.stat-card h3 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ALINEACIÓN HORIZONTAL DE MEDALLAS */
.medal-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.medal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.medal-item .count {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.medal-item .label {
    font-size: 0.6rem;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
}

.count-gold { color: #d4af37; }
.count-silver { color: #aaaaaa; }
.count-bronze { color: #cd7f32; }

.best-result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.best-result-rank {
    font-size: 1.8rem;
    font-weight: 900;
    color: #444444;
}

.best-result-meta {
    font-size: 0.7rem;
    color: #888888;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
}

.wins-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.trophy-icon {
    color: gold;
    font-size: 1.5rem;
}

.wins-count {
    font-size: 2rem;
    font-weight: 900;
}

/* Estilo del trofeo para X-Fighters */
.xf-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #222;
}

.xf-content i {
    font-size: 2rem;
    color: #f1c40f;
}

.xf-content span {
    font-size: 2.5rem;
    font-weight: 900;
}

.category-card--red { border-top: 5px solid #e63946; }
.category-card--gold { border-top: 5px solid var(--dorado); }
.category-card--blue { border-top: 5px solid #457b9d; }
.category-card--purple { border-top: 5px solid #9b59b6; }
.category-card--green { border-top: 5px solid #2ecc71; }

/* Para móviles (menos de 768px) */
@media (max-width: 768px) {
    .main-container {
        padding: 10px;
        /* Reducimos el espacio a los lados */
        margin: 0;
        /* Quitamos márgenes externos si los hay */
        width: 100%;
        /* Aseguramos que no se pase del 100% */
    }

}

.rider-photo {
    width: 100px;
    height: 100px;
    background: #eee;
    border-radius: 50%;
    display: inline-block;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFF;
    overflow: hidden;

}



.rider-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Solo blanco y negro, sin afectar tamaños */
.rider-deceased {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

/* Ajuste para los iconos de Font Awesome 5 */
.meta-item i {
    width: 20px; /* Ancho fijo para que el texto esté alineado verticalmente */
    text-align: center;
    
}

.country-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    /* Esto es clave para el centrado */
    justify-content: flex-start; 
}

/* --- Lógica de visibilidad de País --- */

/* Por defecto, ocultamos la versión corta */
.country-short {
    display: none;
}

/* Cuando la pantalla es menor a 600px... */
@media (max-width: 600px) {

    /* Ocultamos el nombre largo */
    .country-long {
        display: none;
    }

    /* Mostramos las 3 letras */
    .country-short {
        display: inline-block;
        font-weight: bold;
        color: var(--rojo-base);
        text-transform: uppercase;
    }

    /* Aprovechamos para estrechar la columna en móvil */
    .col-pais {
        width: 60px;
        text-align: center;
    }
}

/* Cuando la pantalla es pequeña (móvil) */
@media (max-width: 768px) {
    .rider-details {
        text-align: center; /* Centra el texto del nombre del piloto */
    }

    .country-container {
        justify-content: center; /* Centra la bandera y el país horizontalmente */
        margin-left: auto;
        margin-right: auto;
    }

    .rider-meta {
        justify-content: center; /* Centra también los iconos de fecha e instagram */
    }
}

.country-flag {
    width: 20px;          /* Ancho fijo */
    height: 20px;         /* Alto fijo igual al ancho para que sea un cuadrado perfecto */
    border-radius: 50%;   /* Esto la hace redonda */
    object-fit: cover;    /* Evita que la bandera se estire; la recorta para llenar el círculo */
    object-position: center; /* Centra la bandera dentro del círculo */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1); /* Un borde sutil para que banderas blancas no se pierdan */
    flex-shrink: 0;
}

.rider-header-info {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--rojo-base);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: white;
}

.rider-details .rider-name {
    margin: 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: white;
}

.rider-details .rider-country {
    margin: 5px 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Estilo base (Escritorio) */
.rider-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
    justify-content: flex-start;
    font-size: 0.85rem;
    color: #666;
    /* Alineado a la izquierda en PC */
}

.meta-item {
    font-size: 0.9rem;
    color: #bebebe;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Ajuste específico para Móvil --- */
@media (max-width: 600px) {
    .rider-header-info {
        flex-direction: column;
        /* Foto arriba, texto abajo */
        text-align: center;
        /* Centra el nombre y el país */
        padding: 20px 10px;
    }

    .rider-meta {
        flex-direction: column;
        /* Un dato debajo del otro */
        align-items: center;
        /* Centra los items horizontalmente */
        justify-content: center;
        /* Asegura el centrado total */
        gap: 10px;
        /* Espaciado definido en la última versión */
        margin-top: 20px;
    }

    .meta-item {
        justify-content: center;
        /* Centra el contenido interno (icono + texto) */
        width: 100%;
        /* Ocupa todo el ancho para centrar bien */
    }
}

/* Botón de Instagram */
.insta-btn {
    text-decoration: none;
    color: #bebebe;
    /* Color oficial Instagram */
    font-weight: bold;
    transition: opacity 0.2s;
}

.insta-btn:hover {
    opacity: 0.7;
}

.custom-select-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0 15px;
    position: relative;
    z-index: 10001;
    /* Un pelín más que el dropdown para que la sombra no lo pise */
}

.search-input-container input {
    border: none;
    outline: none;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
}

.dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    color: #333;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
    color: var(--rojo-base);
}

/* Mostrar cuando el input tiene el foco */
.dropdown-content.show {
    display: block;
}

.modern-search-box {
    margin: 0 auto;
    /* Centra el buscador en el hero */
    width: 100%;
}

.main-search-icon {
    color: var(--rojo-base);
    font-size: 1.2rem;
}

.dropdown-arrow {
    color: #ccc;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Para que la lista se vea igual de ancha que el input redondeado */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    /* Se pega justo al borde inferior del input */
    left: 0;
    width: 100%;
    background-color: white;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999 !important;
    /* Por encima de TODO */
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 15px 15px;
    /* Redondeado solo abajo para encajar con el input */
    margin-top: -10px;
    /* Sutil ajuste para que parezca que sale de detrás del input */
    padding-top: 10px;
    text-align: left;
}

.search-hero {
    position: relative;
    overflow: visible !important;
    /* Permite que el desplegable "salga" del div */
    z-index: 10;
    /* Asegura que esté por encima del contenido de abajo */
}

.section-header {
    background: #f8f8f8;
    padding: 12px 15px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-left: 5px solid #ccc;
}

.section-header.active {
    border-left-color: var(--rojo-base);
    background: #fff5f5;
    color: var(--rojo-base);
}

.section-content {
    display: none;
    padding: 5px 0;
}

.section-content.is-open {
    display: block;
}

.section-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--rojo-base);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 4px solid var(--rojo-base);
    padding-left: 10px;
}

.section-subtitle--large {
    font-size: 1rem;
}

.section-title-center {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
}

.section-label {
    font-size: 1.8rem;
    color: var(--rojo-base);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 4px solid var(--rojo-base);
    padding-left: 10px;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.cell-total {
    text-align: right;
    font-weight: 900;
    color: var(--rojo-base);
}

@media (max-width: 600px) {
    .rider-hero {
        flex-direction: column;
        text-align: center;
    }
}

i {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.rider-details h1 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0;
}

/* --- Estilos del Listín Alfabético --- */

.riders-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.alphabet-group {
    margin-bottom: 20px;
}

.group-initial {
    font-size: 1.8rem;
    color: var(--rojo-base);
    font-weight: 900;
    border-bottom: 2px solid #222;
    margin-bottom: 10px;
}

.group-list {
    list-style: none;
    padding: 0;
}

.group-list li a {
    color: #020202;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.8;
}



.group-list li a:hover {
    color: var(--rojo-base);
}



.directory-container {
    display: block;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    margin: 10px;
}

/* Eventos: enlaces y mensajes */
.event-rider-link {
    color: var(--rojo-base);
    text-decoration: none;
    font-weight: bold;
}

.standings-title {
    color: var(--rojo-base);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-left: 4px solid var(--rojo-base);
    padding-left: 10px;
}

.empty-results-msg {
    text-align: center;
    padding: 60px;
    color: #bbbbbb;
}

/* Tarjetas de ranking (X-Games / X-Fighters) */
.category-card {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-top: 5px solid var(--cat-color, var(--rojo-base));
}

.category-title {
    background: #f8f8f8;
    padding: 15px;
    font-weight: 900;
    text-align: center;
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.rider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.rider-row:last-child {
    border-bottom: none;
}

.rider-name {
    font-size: 0.85rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.medals-wrapper {
    display: flex;
    gap: 4px;
}

.m-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: bold !important;
    color: #000 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bg-gold { background-color: #ffd700 !important; }
.bg-silver { background-color: #c0c0c0 !important; }
.bg-bronze { background-color: #cd7f32 !important; }

/* Badge numérico X-Fighters */
.xf-badge {
    background-color: #1d3557;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 900;
}

.xf-badge--red { background-color: #e63946; }
.xf-badge--gold { background-color: var(--dorado); }
.xf-badge--blue { background-color: #457b9d; }
.xf-badge--purple { background-color: #9b59b6; }
.xf-badge--green { background-color: #2ecc71; }