/* ============================================= */
/* VARIABLES Y ESTILOS BASE                      */
/* ============================================= */
:root {
    --primary-color: #00b7f1;
    --secondary-color: #b2d235;
    --text-color: #737577;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-section: #494F56;
    --darker-section: #002B45;
    --header-bg: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

p {
    font-weight: 300;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    color: var(--dark-section);
    line-height: 1.2;
    font-style: italic;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================= */
/* COMPONENTES REUTILIZABLES                     */
/* ============================================= */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #009acb;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 60px;
}

/* ============================================= */
/* HEADER                                        */
/* ============================================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Logo styles */
.logo-img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    color: var(--dark-section);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-section);
}

.no-scroll {
    overflow: hidden;
}

/* Sticky header */
header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

header.sticky .logo-img {
    height: 50px;
}

/* ============================================= */
/* HERO SLIDER                                   */
/* ============================================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: none;
}

.hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slider .slide.active::after {
    animation: kenBurnsEffect 9s forwards;
}

/* Imágenes de fondo para cada slide */
.slide-1::after {
    background-image: url('../images/tenis01.jpg');
}

.slide-2::after {
    background-image: url('../images/DSC00811.JPG?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
}

.slide-3::after {
    background-image: url('../images/DSC01944.JPG?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
}

.hero-slider .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-slider .hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-slider .hero-content h1 {
    font-size: 2.8rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-slider .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-nav .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-nav .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Animación Ken Burns */
@keyframes kenBurnsEffect {
    0% {
        transform: scale(1.10);
        background-position: center center;
    }
    100% {
        transform: scale(1);
        background-position: center center;
    }
}

/* ============================================= */
/* SECCIÓN QUIÉNES SOMOS                         */
/* ============================================= */
.value-prop {
    padding: 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.value-main-content {
    display: flex;
    flex-grow: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    flex-direction: row;
}

.value-image {
    flex: 1;
    background-image: url('/images/laconfrater_grupal.jpg');
    /*background-size: cover;*/
    background-position: -150px center;
    background-attachment: fixed;
    min-height: 400px;
    position: relative;
    z-index: 1;
    order: 1;
}

.value-text-wrapper {
    flex: 1;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    clip-path: none;
    order: 2;
}

.value-text-wrapper .container {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-text-wrapper .section-title {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    left: 0;
    transform: translateX(0);
}

.value-text-wrapper .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.value-text-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-text-wrapper p {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

/* ============================================= */
/* SECCIÓN CATEGORÍAS                            */
/* ============================================= */
.categories {
    background-color: var(--dark-section);
    padding: 100px 0;
}

.categories .section-title {
    color: var(--white);
}

.categories .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: none !important;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-section);
}

.category-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ============================================= */
/* SECCIÓN PREMIOS                               */
/* ============================================= */
.prizes {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.prizes .section-title {
    color: var(--primary-color);
}

.prizes .section-subtitle {
    color: var(--text-color);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.prize-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
    opacity: 0;
    transform: translateY(30px);
}

.prize-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prize-card:hover img {
    transform: scale(1.05);
}

.prize-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--white);
    padding: 20px;
    transition: background 0.3s ease;
}

.prize-card:hover .prize-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
}

.prize-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--white);
}

.prize-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================= */
/* SECCIÓN GALERÍA                               */
/* ============================================= */
.gallery {
    background-color: var(--dark-section);
    padding: 100px 0;
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
    min-height: 200px;
    opacity: 1;
    transform: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-overlay i {
    font-size: 2rem;
    opacity: 0.8;
}

/* Estados de la galería dinámica */
.gallery-loading,
.gallery-no-images,
.gallery-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    grid-column: 1 / -1;
}

.gallery-loading i,
.gallery-no-images i,
.gallery-error i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.gallery-loading i {
    animation: spin 1s linear infinite;
}

.gallery-no-images i {
    color: rgba(255, 255, 255, 0.5);
}

.gallery-error i {
    color: #ff6b6b;
}

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

/* ============================================= */
/* H2H (HEAD TO HEAD) - ESTILOS ESPECÍFICOS     */
/* ============================================= */

/* Layout utilitario para H2H */
.h2h-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.h2h-row { display: flex; flex-wrap: wrap; gap: 16px; }
.h2h-col { flex: 1 1 300px; min-width: 280px; }
.h2h-card { border: 1px solid #e6e8ec; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.h2h-card-header { padding: 12px 16px; border-bottom: 1px solid #eef0f4; font-weight: 700; color: #0f172a; letter-spacing: .2px; font-size: 14px; }
.h2h-card-body { padding: 16px; }
.h2h-form-group { margin-bottom: 12px; }
.h2h-label { display: block; margin-bottom: 6px; font-weight: 600; color: #334155; font-size: 13px; }
.h2h-select { padding: 8px 10px; width: 100%; border: 1px solid #e6e8ec; border-radius: 10px; background: #fff; font-size: 13px; }
.h2h-search-container { position: relative; }
.h2h-search-container input { padding: 8px 10px; width: 100%; border: 1px solid #e6e8ec; border-radius: 10px; background: #fff; font-size: 13px; }
.h2h-search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #e6e8ec; border-top: none; border-radius: 0 0 10px 10px; max-height: 200px; overflow-y: auto; z-index: 1000; display: none; }
.h2h-search-result-item { padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.h2h-search-result-item:hover { background: #f8fafc; }
.h2h-search-result-item:last-child { border-bottom: none; }
.h2h-btn-primary { background: #00b7f1; color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: all 0.3s ease; margin-top: 16px; cursor: pointer; }
.h2h-btn-primary:hover { background: #0099d4; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 183, 241, 0.3); }
.h2h-btn-primary:active { transform: translateY(0); }
.h2h-btn-primary:disabled { background: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }
.h2h-actions { display: flex; gap: 12px; align-items: center; }
.h2h-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.h2h-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h2h-muted { color: #6b7280; font-size: 11px; }
.h2h-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11px; background: #eef6ff; color: #0ea5e9; font-weight: 700; }
.h2h-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.h2h-table thead th { background: #f8fafc; color: #334155; text-transform: uppercase; font-size: 11px; letter-spacing: .5px; }
.h2h-table th, .h2h-table td { border: 1px solid #eef0f4; padding: 8px 6px; text-align: left; font-size: 12px; }
.h2h-hidden { display: none; }
.h2h-status { margin-top: 10px; font-size: 12px; }
.h2h-error { color: #dc2626; }
.h2h-success { color: #16a34a; }
.h2h-debug { margin-top: 16px; }
.h2h-debug pre { max-height: 260px; overflow: auto; background: #0b1021; color: #d7e1ff; padding: 10px; border-radius: 8px; }

/* Hero comparativa H2H */
.h2h-hero { display: block; }
.h2h-hero-inner { 
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.h2h-hero-side { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.h2h-player-photo { position: relative; width: 120px; height: 120px; }
.h2h-player-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #f5f5f5; }
.h2h-wins-badge { position: absolute; bottom: -8px; right: -8px; background: #00b7f1; color: #fff; padding: 8px; border-radius: 50%; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 18px; font-style: italic; box-shadow: 0 4px 12px rgba(0,0,0,0.18); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.h2h-player-name { font-weight: 800; font-size: 16px; color: #0f172a; text-align: center; }
.h2h-hero-center { display: grid; gap: 8px; }
.h2h-stat-row { display: flex; justify-content: space-between; border: 1px dashed #e5e7eb; padding: 6px 10px; border-radius: 8px; background: #fafafa; font-size: 14px; }
.h2h-stat-row .label { color: #64748b; font-weight: 600; }
.h2h-stat-row .value { font-weight: 800; color: #0f172a; }
.h2h-stat-split { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6px; 
    position: relative;
}
.h2h-stat-split > div { 
    border: 1px dashed #e5e7eb; 
    padding: 6px 10px; 
    border-radius: 8px; 
    background: #fafafa; 
    text-align: center; 
    font-size: 14px; 
    position: relative;
}
.h2h-stat-split > div:first-child {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    border-left: 3px solid #00b7f1;
}
.h2h-stat-split > div:last-child {
    background: linear-gradient(135deg, #e8f5e8 0%, #f8f9fa 100%);
    border-right: 3px solid #4caf50;
}
.h2h-stat-split > div:first-child::before {
    /*content: "Jugador 1";*/
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #00b7f1;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}
.h2h-stat-split > div:last-child::before {
    /*content: "Jugador 2";*/
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

/* Ranking específico - 5 puntos más grande */
.h2h-stat-split .value {
    font-size: 19px !important;
    font-weight: 900;
}

/* Estilos para ranking con categoría */
.ranking-number {
    font-weight: 900;
    color: #0f172a;
    font-size: 19px;
}

.ranking-category {
    font-weight: 400;
    color: #64748b;
    font-size: 9.5px; /* La mitad del tamaño del ranking (19px / 2) */
    margin-left: 2px;
}

/* Nota explicativa del ranking */
.h2h-ranking-note {
    margin-top: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
    line-height: 1.4;
}

/* Puntajes en tablas H2H */
.h2h-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

.h2h-puntaje {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-weight: 500;
}

/* Contenedor para jugadores - Siempre lado a lado */
.h2h-hero-players-container { 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* Responsive H2H */
@media (max-width: 768px) {
    .h2h-hero-inner { 
        gap: 16px; 
    }
    
    .h2h-hero-players-container {
        gap: 16px;
    }
    
    .h2h-hero-side { 
        flex: 1;
        min-width: 0; /* Permite que se compriman */
    }
    
    .h2h-player-photo { 
        width: 100px; 
        height: 100px; 
    }
    
    .h2h-wins-badge { 
        width: 32px; 
        height: 32px; 
        font-size: 16px;
        bottom: -6px;
        right: -6px;
    }
    
    .h2h-player-name { 
        font-size: 14px; 
        text-align: center !important; 
        word-break: break-word; /* Evita que el nombre se desborde */
    }
    
    .h2h-grid-2 { 
        grid-template-columns: 1fr; 
    }
    
    .h2h-table th, .h2h-table td { 
        font-size: 11px; 
        padding: 6px 4px; 
    }
    
    .h2h-card-header {
        font-size: 13px;
        padding: 10px 14px;
    }
    
    .h2h-card-body {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .h2h-hero-players-container {
        gap: 12px;
    }
    
    .h2h-player-photo { 
        width: 80px; 
        height: 80px; 
    }
    
    .h2h-wins-badge { 
        width: 28px; 
        height: 28px; 
        font-size: 14px;
        bottom: -4px;
        right: -4px;
    }
    
    .h2h-player-name { 
        font-size: 13px; 
    }
    
    .h2h-stat-row, .h2h-stat-split > div {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* ============================================= */
/* SECCIÓN CTA                                   */
/* ============================================= */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://plus.unsplash.com/premium_photo-1666913667081-1d6c8ccb5143?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--secondary-color);
    color: var(--dark-section);
}

.cta .btn:hover {
    background-color: #9ecc2a;
}

.social-links {
    margin-top: 50px;
}

.social-links a {
    display: inline-block;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}


/* Estilos para la sección de auspiciadores */
.sponsors-section {
    background-color: white;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsors-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.sponsors-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    height: 120px;
}

.sponsors-track {
    display: flex;
    white-space: nowrap; /* Evita que los items salten de línea */
    animation: scroll 20s linear infinite;
}

.sponsor-item {
    width: 200px;
    height: 90px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animación de bucle infinito */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Mueve el track la mitad de su tamaño */
}

/* Pausar animación al hacer hover */
.sponsors-carousel:hover .sponsors-track {
    animation-play-state: paused;
}
/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
footer {
    background-color: var(--darker-section);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-logo {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 20px;
}

.footer-logo span {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================= */
/* PÁGINA JUGADORES                              */
/* ============================================= */
.players-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    padding-top: 120px;
}

.players-section .section-title, .tournaments-section .section-title {
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* Buscador */
.search-container {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.search-container input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-container input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 183, 241, 0.2);
}

/* Grid de tarjetas */
.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 15px;
}

.player-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.player-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 183, 241, 0.3);
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.player-info {
    width: 100%;
}

.player-info h3 {
    font-size: 1.2rem;
    color: var(--dark-section);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.player-details {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 15px;
    text-align: left;
    width: 100%;
}

.player-details p {
    margin-bottom: 8px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.player-details p i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.player-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Estilos para Torneos */
.player-tournaments {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    width: 100%;
    text-align: left;
}

.player-tournaments h4 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-tournaments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.player-tournaments li {
    background-color: #f8f8f8;
    padding: 8px 10px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-tournaments li span.tournament-name {
    font-weight: 600;
    color: var(--dark-section);
    font-size: 0.8rem;
}

.player-tournaments li span.tournament-date {
    font-size: 0.7rem;
    color: #999;
}
/* Estilo para el botón Ver Más */
.ver-mas-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #00b7f1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.ver-mas-btn:hover {
    background-color: #008cba;
}

.ver-mas-btn i {
    margin-left: 5px;
}

/* Estilo para los campos con datos faltantes */
.player-details p {
    color: #555;
}

.player-details p strong {
    color: #333;
}
/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.pagination button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: #009acb;
}

.pagination span {
    font-size: 1.1rem;
    color: var(--dark-section);
    font-weight: 600;
}

#loading-message {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 50px;
}

#no-results-message {
    display: none;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 50px;
}
/* ============================================= */
/* ESTILOS ESPECÍFICOS PARA LA PÁGINA DE DETALLE DEL JUGADOR */
/* ============================================= */
.player-detail-section {
	padding: 80px 0;
    padding-top: 120px;
}

.player-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .player-profile {
        flex-direction: row;
        text-align: left;
    }
}

.player-detail-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
}

.player-info-detail {
    flex-grow: 1;
}

.player-info-detail .section-title {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.player-category {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.player-bio {
    font-size: 1rem;
    line-height: 1.8;
}

.tournaments-history {
    margin-top: 50px;
}

.subsection-title {
    font-size: 2rem;
    color: var(--dark-section);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tournament-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tournament-card h4 {
    color: var(--dark-section);
    margin-bottom: 5px;
    font-size: 1.2rem;
}
/* ============================================= */
/* AJUSTES PARA LA VISTA DETALLE DEL JUGADOR     */
/* ============================================= */

/* Contenedor del nombre y la foto */
.player-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
    box-shadow: none; /* Elimina la sombra o borde del contenedor anterior */
}

/* Estilo para la foto del jugador */
.player-photo {
    width: 250px; /* Tamaño fijo para la foto */
    height: 250px;
    object-fit: cover; /* Para que la imagen se ajuste bien sin deformarse */
    border-radius: 0; /* Elimina la forma circular */
    border: none; /* Asegura que no haya bordes */
    margin-bottom: 20px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); Sombra sutil para la imagen */
}

/* Título de la sección principal */
.player-name {
    font-size: 2.5rem;
    color: var(--darker-section);
}

/* Estilo para la nueva sección de datos del jugador */
.player-data {
    margin-top: 50px;
    margin-bottom: 40px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.data-item {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.data-item i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.data-item span {
    font-weight: 600;
    color: var(--text-color);
}
.player-card a {

    text-decoration: none;
}

/* ============================================= */
/* PÁGINA TORNEOS                                */
/* ============================================= */
.tournaments-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    padding-top: 120px;
}

.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.year-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.year-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.year-btn:hover,
.year-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.all-years-btn {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    color: var(--dark-section);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.all-years-btn:hover {
    background-color: #9ecc2a;
    border-color: #9ecc2a;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 15px;
}
/* ============================================= */
/* AJUSTES PARA LA VISTA DE TORNEOS              */
/* ============================================= */

.tournament-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tournament-card:hover {
    transform: translateY(-5px);
}

.status-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.status-label.upcoming {
    background-color: #FFC900;
    color: #000000;
}

.status-label.ongoing {
    background-color: var(--primary-color);
    color: var(--white);
}

.status-label.completed {
    background-color: #6c757d;
    color: var(--white);
}

.tournament-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Relación de aspecto 16:9 */
    overflow: hidden;
}

.tournament-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-label {
    position: relative;
    top: 15px;
    right: 0; 
	margin-top: -15px; 
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px; 
    font-weight: bold;
    font-size: 0.6rem;
    border-radius: 4px;
    width: 50%;
    text-align: center;
    z-index: 2; 
}

.tournament-info {
    padding: 20px;
}

.tournament-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--darker-section);
}

.tournament-info p {
    font-size: 1rem;
    color: var(--text-color);
}
.status-label.ongoing {
    background-color: var(--primary-color);
}

.status-label.completed {
    background-color: #6c757d;
}

.tournament-format {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}
.tournament-format i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Paginación específica de torneos */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #f1f1f1;
}

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

.status-label.ongoing {
    background-color: #28a745;
    color: white;
}

.status-label.completed {
    background-color: #888;
    color: white;
}

.tournament-image {
    height: 180px;
    background-color: #eee;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.tournament-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.tournament-info {
    padding: 20px;
}

.tournament-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-section);
}

.tournament-dates {
    
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.tournament-dates i {
    margin-right: 8px;
    color: var(--primary-color);
}

.tournament-type {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.view-tournament-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.view-tournament-btn:hover {
    background-color: #009acb;
    color: white;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Slider para móvil */
.mobile-slider {
    display: none;
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    padding: 0 10px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-arrow.prev {
    left: 5px;
}

.slider-arrow.next {
    right: 5px;
}

.slider-arrow i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.categories,
.gallery {
    background-image:
        /* Círculos en la esquina superior izquierda de cada celda de patrón */
        radial-gradient(circle at 0% 0%, transparent 74%, rgba(255,255,255,0.03) 75%),
        /* Círculos en la esquina inferior derecha de cada celda de patrón */
        radial-gradient(circle at 100% 100%, transparent 74%, rgba(255,255,255,0.03) 75%);
    background-size: 40px 40px; /* Controla el tamaño de la "celda" del patrón y la densidad */
    background-repeat: repeat;
    background-color: var(--dark-section); /* Mantiene el color base gris oscuro */
}

/* ============================================= */
/* MEDIA QUERIES - RESPONSIVE                    */
/* ============================================= */
@media (max-width: 991px) {
    /* Header */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        margin-bottom: 15px;
        margin-right: 25px;
        width: auto;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    /* Hero Slider */
    .hero-slider {
        padding-top: 100px;
    }

    .hero-slider .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-slider .hero-content p {
        font-size: 0.95rem;
    }

    .hero-slider .hero-content .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    .hero-slider .hero-content .btn-secondary {
        margin-left: auto;
        margin-right: auto;
    }

    .slider-nav {
        bottom: 20px;
    }

    /* Value Proposition (Quiénes Somos) */
    .value-prop {
        min-height: auto;
        padding-bottom: 0;
    }

    .value-main-content {
        flex-direction: column;
    }

    .value-image {
        order: 1;
        background-attachment: scroll;
        min-height: 250px;
        /*margin-bottom: 30px;*/
		background-size: cover;
    	background-position: 50% center;
    }

    .value-text-wrapper {
        order: 2;
        /*padding-bottom: 50px;*/
		
    }

    .value-text-wrapper .section-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .value-text-wrapper .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Prizes */
	.prizes {
        padding: 30px 0;
    }
    .prizes-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

    /* CTA */
    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 0.95rem;
    }

    .social-links a {
        font-size: 1.5rem;
        margin: 0 10px;
    }

    /* Página Jugadores */
    .players-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Página Torneos */
    .tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .year-filter {
        justify-content: center;
    }

    /* Página Galería */
    .masonry-grid {
        columns: 3;
    }
}

@media (max-width: 768px) {
    /* Página Torneos */
    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .tournament-image {
        display: none;
    }

    .tournament-card {
        padding: 10px;
    }

    .tournament-name {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .tournament-dates {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .tournament-format {
        font-size: 0.8rem;
    }
    
    .status-label {
        top: 20px;
        right: 20px;
        padding: 6px 14px;
        font-size: 0.65rem;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .year-filter {
        margin-bottom: 15px;
    }
	.status-label {
        position: relative;
        right: 0;
        left: 0;
		width: 45%;
		margin-bottom:20px;
    }

    /* Página Galería */
    .masonry-grid {
        columns: 2;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .tournament-filter {
        margin-bottom: 15px;
    }
    
    .status-label {
        top: 25px;
        right: 25px;
        padding: 7px 16px;
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    /* Página Jugadores */
    .players-grid {
        grid-template-columns: 1fr;
    }

    .player-card {
        padding: 20px;
    }

    .player-image {
        width: 100px;
        height: 100px;
    }

    .player-info h3 {
        font-size: 1.1rem;
    }

    .player-details {
        font-size: 0.85rem;
    }

    .pagination button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .pagination span {
        font-size: 1rem;
    }

    /* Página Galería */
    .masonry-grid {
        columns: 1;
    }
}

@media (min-width: 992px) {
    /* Desktop Styles */
    .navbar {
        flex-wrap: nowrap;
    }

    .logo {
        margin-bottom: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
    }

    .mobile-menu-btn {
        display: none;
    }

    .value-prop {
        height: 100vh;
    }

    .value-main-content {
        flex-direction: row;
        flex-grow: 1;
        align-items: stretch;
        width: 100%;
    }

    .value-image {
        flex: 0 0 50%;
        min-height: 100%;
        order: 1;
    }

    .value-text-wrapper {
        flex: 0 0 50%;
        clip-path: none;
        padding-right: 0;
        order: 2;
    }

    .value-text-wrapper .container {
        padding: 100px 100px 100px 80px;
    }

    .value-text-wrapper .section-title {
        text-align: center;
        margin-bottom: 50px;
    }

    .value-text-wrapper .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ============================================= */
/* LIGHTBOX STYLES                               */
/* ============================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    animation: zoomIn 0.3s ease-in-out;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #b2d235;
}

.lightbox-caption {
    text-align: center;
    margin-top: 15px;
}

.lightbox-caption h3 {
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    margin: 0;
}

/* Lightbox Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: translateY(-50%) scale(0.8); opacity: 0; }
    to { transform: translateY(-50%) scale(1); opacity: 1; }
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        padding: 10px;
    }
    
    .lightbox-content img {
        max-height: 60vh;
    }
    
    .lightbox-close {
        font-size: 30px;
        top: -5px;
        right: 5px;
    }
    
    .lightbox-caption h3 {
        font-size: 1.2rem;
    }
}

/* ============================================= */
/* ESTILOS PÁGINA DETALLE JUGADOR                */
/* ============================================= */
body .player-detail-container {
    max-width: 1200px !important;
    margin: 0 auto ;
    padding: 40px 20px !important;
    margin-top: 70px;
}

body .player-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 40px !important;
    border-radius: 15px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
}

body .player-image-large {
    width: 200px !important;
    height: 200px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 5px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

body .player-header-info h1 {
    font-size: 3rem !important;
    margin-bottom: 10px !important;
    color: white !important;
}

body .player-category {
    font-size: 1.2rem !important;
    opacity: 0.9 !important;
    margin-bottom: 20px !important;
}

body .player-stats-overview {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

body .stat-item {
    text-align: center !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 15px !important;
    border-radius: 10px !important;
}

body .stat-number {
    font-size: 2rem !important;
    font-weight: bold !important;
    display: block !important;
}

body .stat-label {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
}

body .content-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

body .info-card {
    background: white !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.player-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.info-item i {
    color: var(--primary-color);
    width: 20px;
}

.tournaments-list {
    max-height: 400px;
    overflow-y: auto;
}

.tournament-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.tournament-item:hover {
    background-color: var(--light-gray);
}

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

.tournament-info h4 {
    color: var(--dark-section);
    margin-bottom: 5px;
}

.tournament-meta {
    font-size: 0.9rem;
    color: var(--text-color);
}

.matches-section {
    grid-column: 1 / -1;
}

.matches-list {
    display: grid;
    gap: 15px;
}

.match-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.match-tournament {
    font-weight: bold;
    color: var(--primary-color);
}

.match-date {
    color: var(--text-color);
    font-size: 0.9rem;
}

.match-players {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.player-name {
    font-weight: 600;
    color: var(--dark-section);
    font-size: 0.9rem;
}

.player-name.current-player {
    color: var(--primary-color);
    font-weight: bold;
}

.match-score {
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    color: var(--dark-section);
    font-size: 0.9rem;
}

.match-result {
    text-align: center;
    margin-top: 10px;
}

.result-won {
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
}

.result-lost {
    color: #dc3545;
    font-weight: bold;
    font-size: 0.9rem;
}

body .back-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--primary-color) !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    margin-bottom: 20px !important;
    transition: background-color 0.3s ease !important;
    position: relative !important;
    z-index: 1000 !important;
}

body .back-button:hover {
    background: #009acb !important;
    color: white !important;
}

/* Responsive para página de detalle */
@media (max-width: 768px) {
    body .player-header {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }
    
    body .player-image-large {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 20px !important;
    }
    
    body .player-header-info h1 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    body .player-category {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }
    
    body .player-stats-overview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    body .stat-item {
        padding: 12px !important;
    }
    
    body .stat-number {
        font-size: 1.5rem !important;
    }
    
    body .stat-label {
        font-size: 0.8rem !important;
    }
    
    body .content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    body .player-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    body .info-card {
        padding: 20px !important;
    }
    
    body .info-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
    
    body .info-item {
        padding: 8px 0 !important;
        font-size: 0.9rem !important;
    }
    
    body .tournaments-list {
        max-height: 300px !important;
    }
    
    body .tournament-item {
        padding: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    body .tournament-info h4 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }
    
    body .tournament-meta {
        font-size: 0.8rem !important;
    }
    
    body .match-item {
        padding: 15px !important;
    }
    
    body .match-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    
    body .match-tournament {
        font-size: 1rem !important;
    }
    
    body .match-date {
        font-size: 0.8rem !important;
    }
    
    body .match-players {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }
    
    body .player-name {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    body .match-score {
        font-size: 1rem !important;
        padding: 10px 15px !important;
        text-align: center !important;
        align-self: center !important;
    }
    
    body .match-result {
        margin-top: 8px !important;
    }
    
    body .result-won,
    body .result-lost {
        font-size: 0.9rem !important;
    }
}

/* Estilos específicos para smartphones muy pequeños */
@media (max-width: 480px) {
    body .player-detail-container {
        padding: 20px 15px !important;
        margin-top: 100px;
    }
    
    body .player-header {
        padding: 25px 15px !important;
        margin-bottom: 20px !important;
    }
    
    body .player-image-large {
        width: 120px !important;
        height: 120px !important;
        margin-bottom: 15px !important;
    }
    
    body .player-header-info h1 {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    body .player-category {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    body .player-stats-overview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
    
    body .stat-item {
        padding: 10px !important;
    }
    
    body .stat-number {
        font-size: 1.3rem !important;
    }
    
    body .stat-label {
        font-size: 0.75rem !important;
    }
    
    body .content-grid {
        gap: 15px !important;
    }
    
    body .info-card {
        padding: 15px !important;
    }
    
    body .info-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }
    
    body .info-item {
        padding: 6px 0 !important;
        font-size: 0.85rem !important;
    }
    
    body .info-item i {
        width: 16px !important;
        font-size: 0.9rem !important;
    }
    
    body .tournaments-list {
        max-height: 250px !important;
    }
    
    body .tournament-item {
        padding: 10px !important;
    }
    
    body .tournament-info h4 {
        font-size: 0.9rem !important;
    }
    
    body .tournament-meta {
        font-size: 0.75rem !important;
    }
    
    body .match-item {
        padding: 12px !important;
    }
    
    body .match-header {
        margin-bottom: 10px !important;
    }
    
    body .match-tournament {
        font-size: 0.9rem !important;
    }
    
    body .match-date {
        font-size: 0.75rem !important;
    }
    
    body .match-players {
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    
    body .player-name {
        font-size: 0.85rem !important;
    }
    
    body .match-score {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    body .result-won,
    body .result-lost {
        font-size: 0.85rem !important;
    }
    
    body .back-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
}

/* Estilos para agrupación de partidos por fase y grupo */
.group-matches {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.group-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
    font-size: 0.9rem;
}

.compact-phase {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-left: 10px;
}

.phase-group {
    margin-bottom: 25px;
}

.phase-group.phase-primera_ronda .phase-title {
    color: #28a745;
}

.phase-group.phase-octavos .phase-title {
    color: #17a2b8;
}

.phase-group.phase-cuartos .phase-title {
    color: #ffc107;
}

.phase-group.phase-semifinal .phase-title {
    color: #fd7e14;
}

.phase-group.phase-final .phase-title {
    color: #dc3545;
}

.phase-group.phase-campeon .phase-title {
    color: #6f42c1;
    font-weight: bold;
}

/* Estilos para la sección de Primera Fase con Tablas */
.first-phase-section {
    margin-bottom: 30px;
    padding: 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    /* Quitado el borde azul */
}

/* Estilos para la sección de Clasificatorias */
.classifications-section {
    margin-bottom: 30px;
    padding: 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    /* Sin borde celeste */
}

.phase-section {
    margin-bottom: 25px;
}

.classifications-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.8rem;
}

.first-phase-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.8rem;
}

.classifications-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.classifications-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.classifications-table .player-cell {
    text-align: left;
    font-weight: 500;
}

.classifications-table .vs-cell {
    font-weight: bold;
    color: #007bff;
    font-size: 0.7rem;
}

.classifications-table .result-cell {
    text-align: center;
}

.classifications-table .date-cell {
    font-size: 0.7rem;
    color: #666;
}

/* Estilos para el ganador */
.winner-player {
    background-color: #fff3cd !important;
    color: #856404 !important;
    font-weight: bold !important;
}

/* Estilos para el ganador en participantes */
.winner-participant {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7) !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
}

.winner-avatar {
    background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
    color: #ff6b35 !important;
}

.winner-name {
    color: #856404 !important;
    font-weight: bold !important;
}

.winner-badge {
    background-color: #ffd700;
    color: #856404;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    margin-left: 5px;
}

/* Círculo de ganador */
.winner-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.winner-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 3px solid #ffd700;
}

.winner-crown {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 5px;
}

.winner-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.winner-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    margin-top: 2px;
}

.group-section {
    margin-bottom: 25px;
}

.group-section:last-child {
    margin-bottom: 0;
}

/* Estilos específicos para títulos de secciones de torneo */
.first-phase-section .section-subtitle,
.classifications-section .section-subtitle {
    padding: 20px 20px 10px 20px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.group-title,
.phase-title {
    padding: 15px 20px 10px 20px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #17a2b8;
    background-color: #e3f2fd;
    border-bottom: 1px solid #b3e5fc;
}

.group-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
    padding: 8px 15px;
    background-color: #e3f2fd;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.first-phase-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-size: 0.8rem; /* Achicado el tamaño de letra */
}

.first-phase-table thead {
    background-color: var(--primary-color);
    color: white;
}

.first-phase-table th {
    padding: 10px 6px; /* Reducido padding */
    text-align: center;
    font-weight: 600;
    border: none;
    font-size: 0.8rem; /* Achicado el tamaño de letra */
}

.first-phase-table th:first-child,
.first-phase-table th:nth-child(3) {
    text-align: left;
    padding-left: 12px; /* Reducido padding */
}

.first-phase-table th:nth-child(2) {
    width: 40px; /* Reducido ancho */
}

.first-phase-table th:nth-child(4) {
    width: 100px; /* Reducido ancho */
}

.first-phase-table th:nth-child(5) {
    width: 100px; /* Reducido ancho */
}

.first-phase-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.first-phase-table tbody tr:hover {
    background-color: #f8f9fa;
}

.first-phase-table tbody tr:last-child {
    border-bottom: none;
}

.first-phase-table td {
    padding: 8px 6px; /* Reducido padding */
    vertical-align: middle;
    font-size: 0.8rem; /* Achicado el tamaño de letra */
}

.player-cell {
    font-weight: 600;
    color: #333;
    padding-left: 12px !important; /* Reducido padding */
}

.vs-cell {
    text-align: center;
    font-weight: bold;
    color: #007bff;
    font-size: 0.7rem; /* Achicado el tamaño de letra */
}

.result-cell {
    text-align: center;
}

.result-badge {
    display: inline-block;
    padding: 3px 6px; /* Reducido padding */
    border-radius: 10px; /* Reducido border-radius */
    font-size: 0.7rem; /* Achicado el tamaño de letra */
    font-weight: 600;
    background-color: #28a745;
    color: white;
}

.result-badge.pending {
    background-color: #ffc107;
    color: #856404;
}

.date-cell {
    text-align: center;
    font-size: 0.7rem; /* Achicado el tamaño de letra */
    color: #6c757d;
}

.no-date {
    color: #adb5bd;
    font-style: italic;
}

/* Mejoras responsive para Partidos (Segunda Fase) - COMPLETAMENTE VERTICAL */
.matches-network {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.matches-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.phase-group {
    margin-bottom: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.phase-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    
}

.phase-matches {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.network-match {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.match-players {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.player-node {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #333;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin: 0 5px;
}

.player-node.winner {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.vs-node {
    font-weight: bold;
    color: #007bff;
    font-size: 0.9rem;
    margin: 0 10px;
}

.match-result {
    text-align: center;
    margin-top: 10px;
}

.result-text {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    background-color: #28a745;
    color: white;
}

.result-text.pending {
    background-color: #ffc107;
    color: #856404;
}

/* Responsive para tablas de primera fase */
@media (max-width: 768px) {
    .first-phase-section .section-subtitle,
    .classifications-section .section-subtitle {
        padding: 15px 15px 8px 15px;
        font-size: 1rem;
    }
    
    .group-title,
    .phase-title {
        padding: 12px 15px 8px 15px;
        font-size: 0.9rem;
    }
    
    .first-phase-table {
        font-size: 0.7rem; /* Más pequeño en móviles */
    }
    
    .first-phase-table th,
    .first-phase-table td {
        padding: 6px 3px; /* Más pequeño en móviles */
    }
    
    .first-phase-table th:first-child,
    .first-phase-table th:nth-child(3),
    .player-cell {
        padding-left: 6px !important; /* Más pequeño en móviles */
    }
    
    .vs-cell {
        font-size: 0.6rem; /* Más pequeño en móviles */
    }
    
    .result-badge {
        font-size: 0.6rem; /* Más pequeño en móviles */
        padding: 2px 4px; /* Más pequeño en móviles */
    }
    
    .date-cell {
        font-size: 0.6rem; /* Más pequeño en móviles */
    }
    
    /* Estilos responsive para clasificatorias */
    .classifications-section {
        padding: 15px;
    }
    
    .classifications-table {
        font-size: 0.7rem;
    }
    
    .classifications-table th,
    .classifications-table td {
        padding: 6px 3px;
    }
    
    .winner-circle {
        width: 100px;
        height: 100px;
    }
    
    .winner-crown {
        font-size: 1.2rem;
    }
    
    .winner-name {
        font-size: 0.8rem;
    }
    
    /* Mejoras responsive para Partidos - MANTENER VERTICAL */
    .matches-grid {
        gap: 20px;
    }
    
    .phase-group {
        margin-bottom: 20px;
    }
    
    .phase-matches {
        gap: 12px;
    }
    
    .network-match {
        max-width: 100%;
        padding: 12px;
    }
    
    .phase-title {
        font-size: 1rem;
        padding: 8px;
    }
    
    .player-node {
        font-size: 0.9rem;
        padding: 6px;
    }
    
    .vs-node {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .first-phase-table th:nth-child(5),
    .classifications-table th:nth-child(5) {
        display: none;
    }
    
    .first-phase-table td:nth-child(5),
    .classifications-table td:nth-child(5) {
        display: none;
    }
    
    /* Estilos responsive para clasificatorias en móviles pequeños */
    .classifications-section {
        padding: 10px;
    }
    
    .classifications-table {
        font-size: 0.6rem;
    }
    
    .classifications-table th,
    .classifications-table td {
        padding: 4px 2px;
    }
    
    .winner-circle {
        width: 80px;
        height: 80px;
    }
    
    .winner-crown {
        font-size: 1rem;
    }
    
    .winner-name {
        font-size: 0.7rem;
    }
    
    /* Responsive mejorado para Partidos en móviles pequeños - MANTENER VERTICAL */
    .phase-group {
        margin-bottom: 15px;
    }
    
    .phase-title {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 10px;
        padding: 6px;
    }
    
    .network-match {
        padding: 10px;
        max-width: 100%;
    }
    
    .match-players {
        flex-direction: column;
        gap: 8px;
    }
    
    .player-node {
        font-size: 0.8rem;
        margin: 0;
        padding: 8px;
    }
    
    .vs-node {
        font-size: 0.7rem;
        margin: 5px 0;
    }
    
    .result-text {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}