/* Variables CSS */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --tercer-color: #003366;
    --background-color: #f9f9f9;
    --text-color: #333333;
    --link-color: var(--primary-color);
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --year-color: #000000;
    --footer-color: #f9f9f9;
}

[data-theme="dark"] {
    --primary-color: #bb86fc;
    --secondary-color: #3700b3;
    --tercer-color: #121212;
    --background-color: #121212;
    --text-color: #ffffff;
    --link-color: var(--primary-color);
    --year-color: #000000;
    --footer-color: #121212;
}

/* Aplica el tema al body */

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Enlaces */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover,
a:focus {
    color: var(--secondary-color);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    color: var(--tercer-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    transition: filter 0.3s ease;
}

[data-theme="dark"] .logo {
    filter: grayscale(0%) brightness(10%);
}

/* Skip to content link */
.skip-to-content-link {
    position: absolute;
    top: -45px;
    left: 10px;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 8px 15px;
    font-size: 1rem;
    text-decoration: none;
    z-index: 100;
    border-radius: var(--border-radius);
    transition: top var(--transition-speed);
}
.skip-to-content-link:focus {
    top: 10px;
}

/* Header */
header.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-color);
}

header img.logo {
    width: 85px;
    height: 96px;
}

/*CLUB description*/
.club-seo-description {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    line-height: 1.7;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.club-seo-description p {
    margin: 12px 0;
    font-size: 16px;
    color: #333;
}

.club-seo-description strong {
    color: #0066cc;
    font-weight: 600;
}

.club-seo-description p:first-child {
    font-size: 18px;
}
.year-seo-description {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.year-seo-description p {
    margin: 15px 0;
    font-size: 16px;
    color: #2c3e50;
}

.year-seo-description strong {
    color: #0066cc;
    font-weight: 600;
}


#nav-mobile {
    display: none; /* Ocultar en pantallas grandes */
}
nav#menu {
    display: flex;
    gap: 15px;
}
nav#menu ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
}
nav#menu li {
    display: inline-block;
}
nav#menu a {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}
nav#menu a[aria-current="page"] {
    background-color: var(--primary-color);
    font-weight: bold;
}
nav#menu a:hover {
    background-color: var(--primary-color);
}
/* Estilo del menú cuando está cerrado en móviles */
@media (max-width: 768px) {
    nav#menu {
        display: none; /* Oculta el menú por defecto en pantallas móviles */
    }
        /* Botón para mostrar el menú en móviles */
    #nav-mobile {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        background-color: var(--secondary-color);
        color: #fff;
        padding: 10px;
        border-radius: var(--border-radius);
        text-align: center;
        margin-top: 20px;
    }
        nav#menu.open-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}
/* En pantallas grandes, el menú se muestra siempre */
@media (min-width: 769px) {
    nav#menu {
        display: flex; /* Asegura que el menú esté visible en pantallas grandes */
    }
}

/* Ajustes adicionales para el menú en pantallas móviles */
@media (max-width: 768px) {
    nav#menu.open-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    nav#menu ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    nav#menu li {
        width: 100%; /* Ocupa todo el ancho disponible */
        margin-bottom: 5px;
    }

    nav#menu a {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: center;
        background-color: var(--secondary-color);
        color: #ffffff;
        border-radius: var(--border-radius);
    }

    nav#menu a:hover {
        background-color: var(--primary-color);
    }
}




/* Main content */
main#principal {
    margin-top: 20px;
}

.title-header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

/* Navigation and Advertisements */
.navigation-container {
    margin: 20px 0;
}

.year-navigation ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.year-navigation ul li {
    font-size: 1.2rem;
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}

.year-navigation ul li a {
    color: var(--year-color);
}

.year-navigation ul li:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.current-year {
    background-color: #ccc;
    font-weight: bold;
}
.advertisement {
    text-align: center;
    margin: 20px 0;
}

.responsive-ad {
    max-width: 100%;
    height: auto;
}

#container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

#column-male,
#column-female {
    flex: 1 1 45%; /* Ocupa aproximadamente la mitad de la pantalla en PC */
    padding: 1rem;
    background-color: var(--background-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table thead {
    background-color: var(--primary-color);
    color: #fff;
}

table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background-color: var(--footer-color);
    border-top: 1px solid #ddd;
}

footer nav {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 20px;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer nav ul li {
    display: inline;
}

footer nav ul li a {
    color: #0066cc;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

footer nav ul li a:hover,
footer nav ul li a[aria-current="page"] {
    background-color: #0056b3;
    color: #fff;
}

footer .site-info {
    margin-top: 20px;
    color: #666;
}

footer .legal-info {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

footer .site-info a.reverse {
    color: #333;
    text-decoration: none;
    unicode-bidi: bidi-override;
    direction: rtl;
}

/* Responsive Design */
@media (max-width: 768px) {

    .year-navigation ul{
        gap: 5px
    }

    .year-navigation ul li{
        font-size: 1em;
    }

    /*.year-navigation ul {
        flex-direction: column;
        align-items: center;
    }*/

    header {
        flex-direction: column;
        align-items: center;
    }

    .responsive-ad {
        width: 100%;
    }
}

.season-block {
    margin-bottom: 2rem;
}

.years {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.years a {
    padding: 10px 15px;
    background-color: #e9ecef;
    border-radius: var(--border-radius);
    text-align: center;
    transition: background-color var(--transition-speed);
}

.years a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .years {
        flex-direction: column;
        align-items: center;
    }

    .years a {
        width: 90%;
        text-align: center;
    }
}

/* Código CSS base para la tarjeta */
.cardPositionToday {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius);
    width: 100%;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed);
}

.cardPositionToday.noactive {
    background-color: #000;
}

.cardPositionToday.active {
    background-color: var(--primary-color);
    color: white;
}

.cardPositionToday .flag img {
    width: 40px;
    height: auto;
    margin-right: 0.5em;
    border-radius: var(--border-radius);
    border-style: solid;
    border-width: 1px;
}

.cardPositionToday .idPais {
    font-family: monospace;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

.cardPositionToday .position {
    font-size: 2em;
    font-weight: bold;
    margin: 0 1rem;
    color: white;
}

.cardPositionToday .advance {
    font-size: 1.5em;
    margin-top: 0.5em;
    color: #28a745; /* Verde para movimiento positivo */
}

.cardPositionToday .advance.menor {
    color: #dc3545; /* Rojo para movimiento negativo */
}

.cardPositionToday .advance.nulo {
    color: #6c757d; /* Gris para sin movimiento */
}

.cardPositionToday .total {
    font-size: 1.5em;
    text-align: right;
    font-weight: bold;
    color: white;
}

/* Media Query para pantallas móviles */
@media (max-width: 576px) {
    .cardPositionToday {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .cardPositionToday .flag,
    .cardPositionToday .idPais {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10px;
    }

    .cardPositionToday .flag img {
        margin-right: 0.5em;
    }

    .cardPositionToday .position,
    .cardPositionToday .advance,
    .cardPositionToday .total {
        text-align: center;
        margin-top: 0.5em;
    }
}

/* Zona de links */
.links {
    margin: 1rem 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-size: 0.9rem;
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    align-items:center;
}
/* Zona de promociones (anuncios) */
.promotion {
    margin-top: 2rem;
    padding: 15px;
    background-color: #fff7e6; /* Color ligeramente diferente para destacar */
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.promotion a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.promotion a:hover {
    text-decoration: underline;
}

.eg-widget {
    margin-top: 1rem;
}

.eg-widgets-script {
    display: none; /* Oculta el script de carga a simple vista */
}
/* Responsive */
@media (max-width: 768px) {
    .content-links,
    .promotion {
        margin: 1rem auto;
        padding: 10px;
    }
}
/* Estilo para el podio */
.podium {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px 0;
}
.podium div {
    width: 30%;
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}
/* Estilos individuales para cada posición del podio */
.podium .au {
    background-color: #FFD700; /* Oro */
    height: 120px;
}
.podium .ag {
    background-color: #C0C0C0; /* Plata */
    height: 100px;
}
.podium .cusn {
    background-color: #CD7F32; /* Bronce */
    height: 80px;
}
/* Responsive */
@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        align-items: center;
        width:90%;
    }

    .podium div {
        width: 80%;
        margin-bottom: 15px;
    }
}
/* Estilo para el contenedor Top 5, 10, 20 */
.top51020 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5; /* Color de fondo más neutro */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin: 20px 0;
}

.topX {
    flex: 1;
    margin: 0 10px;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: #dcdcdc; /* Color neutro */
    color: #333; /* Color de texto oscuro para buena legibilidad */
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.topX small {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
    color: #666;
}

.topX:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .top51020 {
        display: flex;
        flex-wrap: wrap;
        /*justify-content: space-between;*/
        align-items: flex-start; /* Alinea verticalmente los elementos en el centro */
    }

    .topX {
        width: 80%; /* Ajusta el ancho para que quepan dos columnas */
        margin-bottom: 15px;
    }
}

/* Estilo para el contenedor betterworst */
.betterworst {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5; /* Fondo neutro */
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    text-align: center;
    font-size: 1.2em;
}
/* Estilo para el mejor rendimiento */
.better {
    flex: 1;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: #28a745; /* Verde para indicar mejor rendimiento */
    color: white;
    font-weight: bold;
}
/* Estilo para el peor rendimiento */
.worst {
    flex: 1;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: #dc3545; /* Rojo para indicar peor rendimiento */
    color: white;
    font-weight: bold;
}
.better,
.worst {
    margin: 5px;
}

.better span,
.worst span {
    display: block;
    margin-top: 10px;
    font-size: 2em;
}
/* Responsive Design */
@media (max-width: 768px) {
    .betterworst {
        flex-direction: column;
    }

    .better,
    .worst {
        margin-bottom: 15px;
        width: 25%;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    /*#history_list_c thead {
        display: none;
    }*/

    #history_list_c tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
    }

    #history_list_c td {
        display: block;
        text-align: right;
        font-size: 0.9rem;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 50%;
    }

    #history_list_c td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }

    #history_list_c td:last-child {
        border-bottom: 0;
    }
}

.tournament-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}
.tournament-details .detail-item {
    flex: 1 1 calc(50% - 1rem);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}
.tournament-details .detail-item strong {
    color: var(--primary-color);
}
.tournament-details .idPais {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tournament-details .gender-icon {
    width: 1.5em;
    height: auto;
    vertical-align: middle;
}
.tournament-details .links a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}
.tournament-details .links a:hover {
    color: var(--secondary-color);
}
.progress {
    background-color: #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 1rem;
    width: 100%;
}
.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    transition: width 0.4s ease;
}
/* Estilo para la etiqueta del select */
.select-label {
    display: block;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5em;
    font-weight: bold;
    text-align: center;
}
/* Estilo para el select */
.styled-select {
    width: 100%;
    max-width: 300px;
    padding: 0.5em;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}
/* Estilo para la sección que centra el contenido */
.center {
    text-align: center;
    margin: 1.5em 0;
}
/* Efecto hover para el select */
.styled-select:hover,
.styled-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.2);
}
/* Flecha personalizada para el select */
.styled-select::after {
    content: '▼';
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
    color: var(--primary-color);
}
/* Ajuste para pantallas móviles */
@media (max-width: 576px) {
    .styled-select {
        max-width: 100%;
    }
}

/* Contenedor de paginación */
.dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    font-family: 'Arial', sans-serif;
}

/* Botones de paginación */
.dataTables_paginate a.paginate_button {
    padding: 8px 12px;
    margin: 0 5px;
    background-color: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    cursor:pointer;
}

/* Botón actual */
.dataTables_paginate a.paginate_button.current {
    background-color: var(--primary-color);
    font-weight: bold;
}

/* Botones deshabilitados */
.dataTables_paginate a.paginate_button.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

/* Hover y enfoque de botones */
.dataTables_paginate a.paginate_button:hover,
.dataTables_paginate a.paginate_button:focus {
    background-color: var(--primary-color);
    color: #ffffff;
    outline: none;
}

/* Espaciado entre botones */
.dataTables_paginate span {
    display: flex;
    gap: 5px;
}

/* Botones Previous y Next */
.dataTables_paginate a.paginate_button.previous,
.dataTables_paginate a.paginate_button.next {
    font-weight: bold;
    background-color: var(--tercer-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dataTables_paginate a.paginate_button {
        padding: 6px 8px;
        margin: 0 3px;
        font-size: 0.9rem;
    }
}
/* Contenedor principal de los controles de DataTables */
.dataTables_length,
.dataTables_filter {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
}

/* Contenedor de "Mostrar entradas" */
.dataTables_length label {
    font-size: 1rem;
    color: var(--text-color);
    margin-right: 1rem;
}

.dataTables_length select {
    padding: 5px 10px;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

/* Efecto hover y enfoque en el select */
.dataTables_length select:hover,
.dataTables_length select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.2);
}

/* Contenedor de "Buscar" */
.dataTables_filter label {
    font-size: 1rem;
    color: var(--text-color);
}

.dataTables_filter input[type="search"] {
    padding: 5px 10px;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

/* Efecto hover y enfoque en el input de búsqueda */
.dataTables_filter input[type="search"]:hover,
.dataTables_filter input[type="search"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dataTables_length,
    .dataTables_filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dataTables_length label,
    .dataTables_filter label {
        width: 100%;
    }

    .dataTables_length select,
    .dataTables_filter input[type="search"] {
        width: 100%;
    }
}
/* Estilo para el código de país */
.country-code {
    display: inline-block;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight:bold;
    padding: 0.1rem 0.2rem;
    background-color: #333; /* Color de fondo, puedes ajustar según tu diseño */
    color: #fff; /* Color del texto, asegúrate de que contraste bien con el fondo */
    border-radius: 5px; /* Bordes redondeados */
    margin-top: 0.5rem; /* Margen para separar el código de la bandera */
}

/* Opcional: ajustar la bandera y el código para alinearse bien */
.flag {
    vertical-align: middle; /* Alinea la bandera con el código */
    margin-right: 0.5rem; /* Espacio entre la bandera y el código */
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* Para evitar que el texto se distribuya */
    border: 0;
}
.advDecPct {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.advDecPct div {
    text-align: center;
    margin: 0 10px;
}

.advDecPct .mayor {
    color: #2b8c1b; /* Un verde que resalte */
    font-weight: bold;
    font-size: 1.2em;
}

.advDecPct .menor {
    color: #d32f2f; /* Un rojo que resalte */
    font-weight: bold;
    font-size: 1.2em;
}

.advDecPct .betterPct, .advDecPct .worstPct, .advDecPct .maxAdv, .advDecPct .maxDec {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.advDecPct .betterPct:hover, .advDecPct .worstPct:hover, .advDecPct .maxAdv:hover, .advDecPct .maxDec:hover {
    transform: translateY(-5px);
    background-color: #e0e0e0;
}

.au {
    background-color: #FFD700;
    animation: bounceIn 1s ease-in-out forwards;
}

.ag {
    background-color: #C0C0C0;
    animation: bounceIn 1.2s ease-in-out forwards;
}

.cusn {
    background-color: #CD7F32;
    animation: bounceIn 1.4s ease-in-out forwards;
}

/*ADDENDUM*/
.publicidad{
    overflow:hidden;
}
.publicidad {  /* Target the aside with class="publicidad" */
  background-color: #f5f5f5;  /* Light background for sponsored content */
  border: 1px solid #ddd;  /* Optional border to visually separate */
  padding: 10px;  /* Add some padding for readability */
  margin-bottom: 15px;  /* Add some space below sponsored content */
}

.publicidad a {  /* Target links within the sponsored aside */
  color: #333;  /* Adjust link color for sponsored content */
  text-decoration: underline;  /* Optionally underline sponsored links */
}
.sponsored-content {
  /*width: 100%;  Ajusta el ancho al 100% para que ocupen todo el espacio disponible */
  /*float: none;  Elimina la propiedad float para que no se coloquen uno al lado del otro */
}

.responsive-ad {
  max-width: 100%;
  height: auto;
  display: block; /* Asegúrate de que las imágenes se comporten como bloques */
  margin: 0 auto; /* Centra las imágenes horizontalmente */
}
.card a[href*="http"],
.cardTournament a[href*="http"],
.links a[href*="http"] {
    background:url(/image/favicon/external-link.webp) no-repeat 100% 0;
    background-size:8px 8px;
    padding-right:15px;
    width:100%
}
.advance{
    font-size:small;
    text-align:center
}
.mayor{
    color:darkgreen
}
.menor{
    color:darkred
}
.nulo{
    color:#000
}
.noactive{
    opacity:.7
}
.hidden {
    display: none;
}
.inline_block {
    display: inline-block;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    70% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
  #donate-button img {
    width: 100px; /* Ajusta el ancho según tus necesidades */
    height: auto; /* Mantiene la proporción */
  }
 #donate-button-container {
     margin:20px;
 }