/* ==========================================================================
   TORNEO HOCKEY - ESTILOS GLOBALES COMPLETAMENTE RESPONSIVE
   ========================================================================== 
   */
   /* ==========================================================================
           MODAL FLYER / POPUP STYLES
           ========================================================================== */
         
        /* Estilos específicos para la página de reglamento */
        .reglamento-hero {
            background: linear-gradient(135deg, rgba(129, 199, 132, 0.9), rgba(100, 181, 246, 0.9)), 
                        url('img/hockey-bg.jpg') center/cover;
            padding: clamp(6rem, 15vh, 10rem) 0 clamp(3rem, 8vh, 5rem) 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .reglamento-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
        }

        .reglamento-hero-content {
            position: relative;
            z-index: 2;
        }

        .reglamento-icon {
            font-size: clamp(3rem, 8vw, 5rem);
            margin-bottom: 1.5rem;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }

        .reglamento-hero h1 {
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        }

        .reglamento-hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            max-width: 700px;
            margin: 0 auto;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
        }

        /* Contenedor principal */
        .reglamento-container {
            max-width: 1200px;
            margin: -3rem auto 4rem;
            padding: 0 var(--container-padding);
            position: relative;
            z-index: 10;
        }

        /* Tarjetas de sección */
        .reglamento-section {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: clamp(2rem, 5vw, 3rem);
            margin-bottom: 2rem;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            border-left: 5px solid var(--accent-mint);
            transition: all 0.3s ease;
            animation: fadeInUp 0.6s ease forwards;
        }

        .reglamento-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .reglamento-section:nth-child(2) { border-left-color: var(--accent-blue); animation-delay: 0.1s; }
        .reglamento-section:nth-child(3) { border-left-color: var(--accent-pink); animation-delay: 0.2s; }
        .reglamento-section:nth-child(4) { border-left-color: #AED581; animation-delay: 0.3s; }
        .reglamento-section:nth-child(5) { border-left-color: #FFB74D; animation-delay: 0.4s; }
        .reglamento-section:nth-child(6) { border-left-color: #CE93D8; animation-delay: 0.5s; }
        .reglamento-section:nth-child(7) { border-left-color: #80CBC4; animation-delay: 0.6s; }
        .reglamento-section:nth-child(8) { border-left-color: #FFAB91; animation-delay: 0.7s; }
        .reglamento-section:nth-child(9) { border-left-color: #FF8A65; animation-delay: 0.8s; }
        .reglamento-section:nth-child(10) { border-left-color: #90CAF9; animation-delay: 0.9s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Títulos de sección */
        .section-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: clamp(40px, 8vw, 50px);
            height: clamp(40px, 8vw, 50px);
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
            border-radius: 50%;
            font-weight: 700;
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            margin-right: 1rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        }

        .section-title {
            font-size: clamp(1.3rem, 4vw, 1.8rem);
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
        }

        /* Contenido */
        .section-content {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .section-content p {
            margin-bottom: 1rem;
            font-size: clamp(0.95rem, 2vw, 1.05rem);
        }

        .section-content strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Lista de reglas */
        .regla-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .regla-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .regla-icon {
            color: var(--accent-mint);
            font-size: 1.2rem;
            margin-right: 1rem;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .regla-text {
            flex: 1;
            color: var(--text-primary);
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        /* Highlight boxes */
        .info-box {
            background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(129, 199, 132, 0.1));
            border-left: 4px solid var(--accent-blue);
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .warning-box {
            background: linear-gradient(135deg, rgba(255, 183, 77, 0.1), rgba(255, 171, 145, 0.1));
            border-left: 4px solid #FFB74D;
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .success-box {
            background: linear-gradient(135deg, rgba(129, 199, 132, 0.1), rgba(174, 213, 129, 0.1));
            border-left: 4px solid var(--accent-mint);
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .info-box-title,
        .warning-box-title,
        .success-box-title {
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Tabla de sanciones */
        .sanctions-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 1.5rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .sanctions-table thead {
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
        }

        .sanctions-table th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .sanctions-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        }

        .sanctions-table tbody tr {
            background: white;
            transition: all 0.3s ease;
        }

        .sanctions-table tbody tr:hover {
            background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
            transform: scale(1.02);
        }

        .card-green {
            background: #4CAF50;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        .card-yellow {
            background: #FFC107;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        .card-red {
            background: #F44336;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        /* Botón de descarga */
        .download-button {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
            margin: 2rem auto;
            display: inline-flex;
        }

        .download-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(129, 199, 132, 0.4);
            color: white;
        }

        .download-section {
            text-align: center;
            margin-top: 3rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .section-number {
                margin-bottom: 1rem;
            }

            .sanctions-table {
                font-size: 0.8rem;
            }

            .sanctions-table th,
            .sanctions-table td {
                padding: 0.5rem;
            }
        }
    
        /* Overlay del modal */
        .flyer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            opacity: 0;
            animation: fadeIn 0.4s ease forwards;
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        /* Contenedor del flyer */
        .flyer-container {
            position: relative;
            background: linear-gradient(135deg, #E8F5E8 0%, #E3F2FD 50%, #FCE4EC 100%);
            border-radius: 25px;
            max-width: 600px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
            animation: slideUp 0.5s ease forwards;
            transform: translateY(50px);
        }

        @keyframes slideUp {
            to {
                transform: translateY(0);
            }
        }

        /* Botón cerrar */
        .flyer-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .flyer-close:hover {
            background: #ff4444;
            color: white;
            transform: rotate(90deg) scale(1.1);
        }

        .flyer-close i {
            font-size: 1.3rem;
        }

        /* Contenido del flyer */
        .flyer-content {
            padding: 3rem 2rem 2rem;
            text-align: center;
        }

        /* Logo/Icono principal */
        .flyer-logo {
            width: 120px;
            height: 120px;
            margin: 0 auto 1.5rem;
            animation: bounceIn 0.8s ease;
        }

        .flyer-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
        }

        @keyframes bounceIn {
            0% {
                transform: scale(0.3);
                opacity: 0;
            }
            50% {
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Título del flyer */
        .flyer-title {
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #81C784, #64B5F6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInDown 0.6s ease 0.3s both;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Subtítulo */
        .flyer-subtitle {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            color: var(--text-secondary);
            margin-bottom: 2rem;
            font-weight: 500;
            animation: fadeInDown 0.6s ease 0.4s both;
        }

        /* Highlights/Características */
        .flyer-highlights {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 15px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            animation: fadeInUp 0.6s ease 0.5s both;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .flyer-highlight-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            text-align: left;
        }

        .flyer-highlight-item:last-child {
            margin-bottom: 0;
        }

        .flyer-highlight-icon {
            background: linear-gradient(135deg, #81C784, #64B5F6);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
        }

        .flyer-highlight-text {
            flex: 1;
        }

        .flyer-highlight-text h4 {
            font-size: clamp(1rem, 2.5vw, 1.1rem);
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
        }

        .flyer-highlight-text p {
            font-size: clamp(0.85rem, 2vw, 0.95rem);
            color: var(--text-secondary);
            margin: 0;
        }

        /* Botones de acción */
        .flyer-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.6s ease 0.6s both;
        }

        .flyer-btn {
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            font-size: clamp(0.9rem, 2vw, 1rem);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .flyer-btn-primary {
            background: linear-gradient(135deg, #81C784, #64B5F6);
            color: white;
            box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
        }

        .flyer-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(129, 199, 132, 0.4);
            color: white;
        }

        .flyer-btn-secondary {
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-primary);
            border: 2px solid rgba(129, 199, 132, 0.3);
        }

        .flyer-btn-secondary:hover {
            background: #81C784;
            color: white;
            transform: translateY(-3px);
            border-color: #81C784;
        }

        /* Badge de "Nuevo" o "Promo" */
        .flyer-badge {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #FF6B6B, #FF8E53);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
            animation: pulse 2s ease infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: translateX(-50%) scale(1);
            }
            50% {
                transform: translateX(-50%) scale(1.05);
            }
        }

        /* Banner inferior */
        .flyer-footer {
            background: rgba(255, 255, 255, 0.6);
            padding: 1rem;
            border-radius: 0 0 25px 25px;
            margin-top: 2rem;
            animation: fadeInUp 0.6s ease 0.7s both;
        }

        .flyer-footer-text {
            font-size: clamp(0.8rem, 1.8vw, 0.9rem);
            color: var(--text-secondary);
            margin: 0;
        }

        /* Checkbox "No mostrar de nuevo" */
        .flyer-checkbox {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .flyer-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        /* Responsive */
        @media (max-width: 576px) {
            .flyer-container {
                border-radius: 15px;
                margin: 0.5rem;
            }

            .flyer-content {
                padding: 2.5rem 1.5rem 1.5rem;
            }

            .flyer-logo {
                width: 100px;
                height: 100px;
            }

            .flyer-highlights {
                padding: 1rem;
            }

            .flyer-actions {
                flex-direction: column;
            }

            .flyer-btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* Ocultar el flyer (clase para JavaScript) */
        .flyer-hidden {
            display: none;
        }
        /* Estilos específicos para la página de reglamento */
        .reglamento-hero {
            background: linear-gradient(135deg, rgba(129, 199, 132, 0.9), rgba(100, 181, 246, 0.9)), 
                        url('img/hockey-bg.jpg') center/cover;
            padding: clamp(6rem, 15vh, 10rem) 0 clamp(3rem, 8vh, 5rem) 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .reglamento-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
        }

        .reglamento-hero-content {
            position: relative;
            z-index: 2;
        }

        .reglamento-icon {
            font-size: clamp(3rem, 8vw, 5rem);
            margin-bottom: 1.5rem;
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }

        .reglamento-hero h1 {
            font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        }

        .reglamento-hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            max-width: 700px;
            margin: 0 auto;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
        }

        /* Contenedor principal */
        .reglamento-container {
            max-width: 1200px;
            margin: -3rem auto 4rem;
            padding: 0 var(--container-padding);
            position: relative;
            z-index: 10;
        }

        /* Tarjetas de sección */
        .reglamento-section {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: clamp(2rem, 5vw, 3rem);
            margin-bottom: 2rem;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
            border-left: 5px solid var(--accent-mint);
            transition: all 0.3s ease;
            animation: fadeInUp 0.6s ease forwards;
        }

        .reglamento-section:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .reglamento-section:nth-child(2) { border-left-color: var(--accent-blue); animation-delay: 0.1s; }
        .reglamento-section:nth-child(3) { border-left-color: var(--accent-pink); animation-delay: 0.2s; }
        .reglamento-section:nth-child(4) { border-left-color: #AED581; animation-delay: 0.3s; }
        .reglamento-section:nth-child(5) { border-left-color: #FFB74D; animation-delay: 0.4s; }
        .reglamento-section:nth-child(6) { border-left-color: #CE93D8; animation-delay: 0.5s; }
        .reglamento-section:nth-child(7) { border-left-color: #80CBC4; animation-delay: 0.6s; }
        .reglamento-section:nth-child(8) { border-left-color: #FFAB91; animation-delay: 0.7s; }
        .reglamento-section:nth-child(9) { border-left-color: #FF8A65; animation-delay: 0.8s; }
        .reglamento-section:nth-child(10) { border-left-color: #90CAF9; animation-delay: 0.9s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Títulos de sección */
        .section-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: clamp(40px, 8vw, 50px);
            height: clamp(40px, 8vw, 50px);
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
            border-radius: 50%;
            font-weight: 700;
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            margin-right: 1rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(0, 0, 0, 0.1);
        }

        .section-title {
            font-size: clamp(1.3rem, 4vw, 1.8rem);
            font-weight: 700;
            color: var(--text-primary);
            margin: 0;
        }

        /* Contenido */
        .section-content {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        .section-content p {
            margin-bottom: 1rem;
            font-size: clamp(0.95rem, 2vw, 1.05rem);
        }

        .section-content strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* Lista de reglas */
        .regla-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .regla-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .regla-icon {
            color: var(--accent-mint);
            font-size: 1.2rem;
            margin-right: 1rem;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .regla-text {
            flex: 1;
            color: var(--text-primary);
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        /* Highlight boxes */
        .info-box {
            background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(129, 199, 132, 0.1));
            border-left: 4px solid var(--accent-blue);
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .warning-box {
            background: linear-gradient(135deg, rgba(255, 183, 77, 0.1), rgba(255, 171, 145, 0.1));
            border-left: 4px solid #FFB74D;
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .success-box {
            background: linear-gradient(135deg, rgba(129, 199, 132, 0.1), rgba(174, 213, 129, 0.1));
            border-left: 4px solid var(--accent-mint);
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }

        .info-box-title,
        .warning-box-title,
        .success-box-title {
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Tabla de sanciones */
        .sanctions-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 1.5rem 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .sanctions-table thead {
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
        }

        .sanctions-table th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1rem);
        }

        .sanctions-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        }

        .sanctions-table tbody tr {
            background: white;
            transition: all 0.3s ease;
        }

        .sanctions-table tbody tr:hover {
            background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
            transform: scale(1.02);
        }

        .card-green {
            background: #4CAF50;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        .card-yellow {
            background: #FFC107;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        .card-red {
            background: #F44336;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-weight: 600;
            display: inline-block;
        }

        /* Botón de descarga */
        .download-button {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
            margin: 2rem auto;
            display: inline-flex;
        }

        .download-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(129, 199, 132, 0.4);
            color: white;
        }

        .download-section {
            text-align: center;
            margin-top: 3rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .section-number {
                margin-bottom: 1rem;
            }

            .sanctions-table {
                font-size: 0.8rem;
            }

            .sanctions-table th,
            .sanctions-table td {
                padding: 0.5rem;
            }
        }
        :root {
            --pastel-mint: #E8F5E8;
            --pastel-blue: #E3F2FD;
            --pastel-pink: #FCE4EC;
            --text-primary: #2C3E50;
            --text-secondary: #6C757D;
            --accent-mint: #81C784;
            --accent-blue: #64B5F6;
            --white: #FFFFFF;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-blue) 50%, var(--pastel-pink) 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Contenido demo */
        .demo-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
        }

        .demo-box {
            background: rgba(255, 255, 255, 0.95);
            padding: 3rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .demo-box h1 {
            color: var(--text-primary);
            margin-bottom: 1rem;
            font-size: clamp(1.5rem, 5vw, 2.5rem);
        }

        .demo-box p {
            color: var(--text-secondary);
            font-size: clamp(1rem, 2.5vw, 1.2rem);
        }

        /* ==========================================================================
           FOOTER CON REDES SOCIALES - COMPLETAMENTE RESPONSIVE
           ========================================================================== */

        .footer {
            background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(52, 73, 94, 0.98) 100%);
            color: var(--white);
            padding: clamp(2rem, 5vw, 3rem) 0 1rem 0;
            margin-top: auto;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }

        /* Efecto decorativo superior */
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue), var(--accent-mint));
            background-size: 200% 100%;
            animation: gradientShift 3s ease infinite;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 clamp(1rem, 3vw, 2rem);
        }

        /* Grid principal del footer */
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: clamp(2rem, 4vw, 3rem);
            margin-bottom: 2rem;
        }

        /* Sección de info */
        .footer-section {
            animation: fadeInUp 0.6s ease forwards;
        }

        .footer-section:nth-child(1) { animation-delay: 0.1s; }
        .footer-section:nth-child(2) { animation-delay: 0.2s; }
        .footer-section:nth-child(3) { animation-delay: 0.3s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .footer-logo-section {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: clamp(1.3rem, 3vw, 1.6rem);
            font-weight: 700;
            color: var(--white);
            margin-bottom: 0.5rem;
        }

        .footer-brand i {
            font-size: clamp(1.8rem, 4vw, 2.2rem);
            color: var(--accent-mint);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        .footer-description {
            color: rgba(255, 255, 255, 0.8);
            font-size: clamp(0.9rem, 2vw, 1rem);
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        /* Títulos de sección */
        .footer-title {
            font-size: clamp(1.1rem, 2.5vw, 1.3rem);
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--white);
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
            border-radius: 2px;
        }

        /* Links del footer */
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: clamp(0.9rem, 2vw, 1rem);
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-links a:hover {
            color: var(--accent-mint);
            transform: translateX(5px);
        }

        .footer-links a i {
            font-size: 0.8rem;
            opacity: 0.6;
        }

        /* Redes Sociales */
        .social-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        .social-link {
            width: clamp(45px, 10vw, 55px);
            height: clamp(45px, 10vw, 55px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            color: var(--white);
            font-size: clamp(1.1rem, 2.5vw, 1.4rem);
            text-decoration: none;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
            border-color: var(--accent-mint);
            box-shadow: 0 10px 25px rgba(129, 199, 132, 0.4);
        }

        .social-link:hover::before {
            opacity: 1;
        }

        /* Colores específicos por red social */
        .social-link.facebook:hover {
            border-color: #1877F2;
            box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
        }

        .social-link.facebook:hover::before {
            background: #1877F2;
        }

        .social-link.instagram:hover {
            border-color: #E4405F;
            box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
        }

        .social-link.instagram:hover::before {
            background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
        }

        .social-link.twitter:hover {
            border-color: #1DA1F2;
            box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
        }

        .social-link.twitter:hover::before {
            background: #1DA1F2;
        }

        .social-link.whatsapp:hover {
            border-color: #25D366;
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        }

        .social-link.whatsapp:hover::before {
            background: #25D366;
        }

        .social-link.youtube:hover {
            border-color: #FF0000;
            box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
        }

        .social-link.youtube:hover::before {
            background: #FF0000;
        }

        .social-link.tiktok:hover {
            border-color: #000000;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }

        .social-link.tiktok:hover::before {
            background: #000000;
        }

        /* Información de contacto */
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: clamp(0.9rem, 2vw, 1rem);
            line-height: 1.5;
        }

        .contact-item i {
            color: var(--accent-mint);
            font-size: 1.2rem;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .contact-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-item a:hover {
            color: var(--accent-mint);
        }

        /* Divisor */
        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
            margin: 2rem 0 1.5rem 0;
        }

        /* Footer bottom */
        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.6);
            font-size: clamp(0.8rem, 1.8vw, 0.9rem);
            margin-bottom: 0.5rem;
        }

        .footer-bottom a {
            color: var(--accent-mint);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .footer-bottom a:hover {
            color: var(--accent-blue);
            text-decoration: underline;
        }

        .footer-heart {
            color: #e74c3c;
            animation: heartbeat 1.5s ease infinite;
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            10%, 30% { transform: scale(1.1); }
            20%, 40% { transform: scale(1); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-brand {
                justify-content: center;
                text-align: center;
            }

            .footer-description {
                text-align: center;
            }

            .footer-title::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .footer-links {
                text-align: center;
            }

            .footer-links a {
                justify-content: center;
            }

            .social-links {
                justify-content: center;
            }

            .contact-info {
                align-items: center;
            }

            .contact-item {
                justify-content: center;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .social-link {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }

            .footer {
                padding: 2rem 0 1rem 0;
            }
        }
   /* Estilos para la fase final */
        .fase-final-container {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 2rem;
        }

        .playoff-bracket {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .playoff-round {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .playoff-round.final {
            justify-content: center;
        }

        .playoff-match {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            border-left: 4px solid var(--accent-mint);
            position: relative;
        }

        .playoff-match.final-match {
            border-left: 4px solid var(--gold);
        }

        .playoff-title {
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .playoff-team {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem;
            margin: 0.5rem 0;
            background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
            border-radius: 8px;
            font-weight: 600;
        }

        .playoff-team-name {
            flex: 1;
        }

        .playoff-score {
            background: white;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
            font-weight: 700;
            min-width: 40px;
            text-align: center;
            color: var(--text-primary);
        }

        .playoff-vs {
            text-align: center;
            font-weight: 700;
            color: var(--text-secondary);
            margin: 0.5rem 0;
        }

        .playoff-date {
            text-align: center;
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-top: 1rem;
        }

        .champion-badge {
            text-align: center;
            margin-top: 1rem;
            padding: 0.5rem;
            background: linear-gradient(135deg, var(--gold), #FFA500);
            border-radius: 8px;
            color: white;
            font-weight: 700;
            display: none;
        }

        .champion-badge.show {
            display: block;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .playoff-bracket {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

/* ==========================================================================
   TABLAS DE POSICIONES DE GRUPOS
   ========================================================================== */

.tabla-grupo {
    margin-bottom: 3rem;
}

.tabla-grupo .tabla-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partidos-titulo {
    font-size: 1.3rem;
    margin-top: 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

   .hero-section {
    padding-top: 180px; /* o el valor que prefieras */
    padding-bottom: clamp(2rem, 8vw, 4rem);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Logo en el navbar */
.navbar-brand img {
    height: 100px;
    width: auto;
    margin-right: 1px;
    vertical-align: middle;
}
/* Variables CSS */
:root {
    --pastel-mint: #E8F5E8;
    --pastel-blue: #E3F2FD;
    --pastel-pink: #FCE4EC;
    --pastel-yellow: #FFF9C4;
    --pastel-purple: #F3E5F5;
    --pastel-coral: #FFE0E0;
    --soft-gray: #F8F9FA;
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --accent-mint: #81C784;
    --accent-blue: #64B5F6;
    --accent-pink: #F48FB1;
    --white: #FFFFFF;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    
    /* Responsive variables */
    --container-padding: 1rem;
    --card-gap: 1rem;
    --font-scale: 1;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem calculations */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-blue) 50%, var(--pastel-pink) 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container responsive */
.container-fluid {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 100vw;
}

/* ==========================================================================
   NAVBAR STYLES - FULLY RESPONSIVE
   ========================================================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--accent-mint);
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    flex-grow: 0;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-mint) !important;
    background: rgba(129, 199, 132, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-mint);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Menu Styles - Mobile Optimized */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    margin-top: 0.5rem;
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 10px;
    margin: 4px 0;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    color: var(--white);
    transform: translateX(5px);
}

.dropdown-item:hover::before {
    width: 100%;
}

/* Fechas dropdown específico */
.fechas-dropdown {
    max-height: min(300px, 50vh);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-mint) transparent;
}

.fechas-dropdown::-webkit-scrollbar {
    width: 6px;
}

.fechas-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.fechas-dropdown::-webkit-scrollbar-thumb {
    background: var(--accent-mint);
    border-radius: 3px;
}

.fechas-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.fecha-link {
    transition: all 0.3s ease;
}

.fecha-link:hover {
    background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue)) !important;
    color: var(--text-primary) !important;  
    transform: translateX(3px);
}

/* ==========================================================================
   LAYOUT COMPONENTS - RESPONSIVE
   ========================================================================== */

/* Main Content */
.main-content {
    padding-top: clamp(100px, 15vh, 120px);
    padding-bottom: 3rem;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.page-title {
    text-align: center;
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    hyphens: auto;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    font-size: clamp(0.8rem, 2vw, 1rem);
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--accent-mint);
}

.breadcrumb-nav .current {
    color: var(--accent-mint);
    font-weight: 600;
}

/* Back Button */
.back-button {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    color: white;
    border: none;
    padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 24px);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.back-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
}
/* ======================================================================
Estilos para el modal de categorías 
=========================================================================*/
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
}

.modal-header {
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
    padding: 1.5rem;
}

.modal-title {
    color: #1a1a2e;
    font-weight: 600;
}

.category-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-modal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.category-modal-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-modal-card span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION - RESPONSIVE
   ========================================================================== */

.hero-section {
    padding: clamp(2rem, 8vw, 4rem) var(--container-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* Custom Buttons - Mobile Optimized */
.btn-custom {
    padding: clamp(10px, 2vw, 12px) clamp(20px, 5vw, 30px);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-align: center;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    color: white;
    box-shadow: 0 8px 25px rgba(129, 199, 132, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(129, 199, 132, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 2px solid rgba(129, 199, 132, 0.3);
}

.btn-secondary-custom:hover {
    background: var(--accent-mint);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-mint);
}

/* ==========================================================================
   FEATURES SECTION - RESPONSIVE
   ========================================================================== */

.features-section {
    padding: clamp(2rem, 6vw, 3rem) var(--container-padding);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: clamp(1rem, 4vw, 2rem);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

/* ==========================================================================
   CATEGORIES SECTION - RESPONSIVE
   ========================================================================== */

.categories-section {
    padding: clamp(2rem, 6vw, 3rem) var(--container-padding);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-mint);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-card:nth-child(2) { border-left-color: var(--accent-blue); }
.category-card:nth-child(3) { border-left-color: var(--accent-pink); }
.category-card:nth-child(4) { border-left-color: #AED581; }
.category-card:nth-child(5) { border-left-color: #FFB74D; }
.category-card:nth-child(6) { border-left-color: #CE93D8; }
.category-card:nth-child(7) { border-left-color: #80CBC4; }
.category-card:nth-child(8) { border-left-color: #FFAB91; }

.category-name {
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-info {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--text-secondary);
}

/* ==========================================================================
   FIXTURE/RESULTADOS SECTIONS - FULLY RESPONSIVE
   ========================================================================== */

/* Fecha Section */
.fecha-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: clamp(15px, 4vw, 25px);
    padding: clamp(1rem, 4vw, 2.5rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    scroll-margin-top: 140px;
}

.fecha-title {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    position: relative;
}

.fecha-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 15vw, 80px);
    height: 4px;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
    border-radius: 2px;
}



/* Partidos Grid - Fully Responsive */
/* Grid para grupos con 3 columnas fijas */
.partidos-grid-grupos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive para tablets */
@media (max-width: 992px) {
    .partidos-grid-grupos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive para móviles */
@media (max-width: 576px) {
    .partidos-grid-grupos {
        grid-template-columns: 1fr;
    }
}

/* Estilos para títulos de grupos */
.grupo-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.grupo-title:first-of-type {
    margin-top: 0;
}
.partidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
}

.partido-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: clamp(12px, 3vw, 18px);
    padding: clamp(1rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-mint);
    position: relative;
    overflow: hidden;
    min-width: 0; /* Important for grid items */
}

.partido-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.partido-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
}

/* Diferentes colores para las tarjetas */
.partido-card:nth-child(2) { border-left-color: var(--accent-blue); }
.partido-card:nth-child(3) { border-left-color: var(--accent-pink); }
.partido-card:nth-child(4) { border-left-color: #AED581; }
.partido-card:nth-child(5) { border-left-color: #FFB74D; }
.partido-card:nth-child(6) { border-left-color: #CE93D8; }
.partido-card:nth-child(7) { border-left-color: #80CBC4; }
.partido-card:nth-child(8) { border-left-color: #FFAB91; }

/* VS Container - Mobile Optimized */
.vs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.equipo {
    flex: 1;
    text-align: center;
    min-width: 0; /* Allow text truncation */
}

.equipo-nombre {
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.vs-divider {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    color: white;
    border-radius: 50%;
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
}

/* Resultado Container - Mobile Optimized */
.resultado-container {
    background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
    border-radius: 12px;
    padding: clamp(0.75rem, 2vw, 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.resultado-score {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: clamp(0.2rem, 1vw, 0.3rem) clamp(0.5rem, 2vw, 0.8rem);
    min-width: clamp(35px, 8vw, 50px);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.resultado-separador {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
    color: var(--text-secondary);
}

/* Partido Info */
.partido-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.partido-fecha, .partido-hora {
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    color: var(--text-secondary);
    margin: 0.2rem 0;
}

.partido-estado {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: clamp(0.25rem, 1vw, 0.3rem) clamp(0.6rem, 2vw, 0.8rem);
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.partido-estado-pendiente {
    background: linear-gradient(135deg, #9b9b9b, #c4c4c4);
    color: white;
    padding: clamp(0.25rem, 1vw, 0.3rem) clamp(0.6rem, 2vw, 0.8rem);
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

/* ==========================================================================
   TABLA DE POSICIONES - FULLY RESPONSIVE
   ========================================================================== */

/* Tabla Container */
.tabla-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: clamp(15px, 4vw, 25px);
    padding: clamp(1rem, 3vw, 2rem);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin: 0 var(--container-padding);
}

.tabla-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tabla-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
}

.tabla-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(80px, 20vw, 100px);
    height: 4px;
    background: linear-gradient(90deg, var(--accent-mint), var(--accent-blue));
    border-radius: 2px;
}

.tabla-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2vw, 1rem);
    margin-top: 1rem;
}

/* Table Wrapper for Horizontal Scroll */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: -1rem;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-mint) transparent;
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-mint);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Tabla Styles - Responsive */
.positions-table {
    width: 100%;
    min-width: 700px; /* Minimum width for readability */
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: white;
    font-size: clamp(0.7rem, 1.5vw, 0.95rem);
}

.positions-table thead {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    color: white;
}

.positions-table th {
    padding: clamp(0.5rem, 2vw, 1.2rem) clamp(0.3rem, 1vw, 1rem);
    text-align: center;
    font-weight: 600;
    position: relative;
    cursor: help;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.positions-table th:hover {
    background: rgba(255, 255, 255, 0.1);
}

.positions-table th.equipo-header {
    text-align: left;
    padding-left: clamp(1rem, 3vw, 2rem);
    min-width: 150px;
}

.positions-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.positions-table tbody tr:hover {
    background: linear-gradient(135deg, var(--pastel-mint), var(--pastel-blue));
    transform: scale(1.01);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.positions-table td {
    padding: clamp(0.5rem, 1.5vw, 1rem);
    text-align: center;
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

.positions-table td.equipo-cell {
    text-align: left;
    padding-left: clamp(1rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    white-space: normal;
    word-wrap: break-word;
    min-width: 150px;
    max-width: 200px;
}

/* Position Indicators - Responsive */
.position-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(20px, 5vw, 30px);
    height: clamp(20px, 5vw, 30px);
    border-radius: 50%;
    font-weight: 700;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    margin-right: clamp(0.3rem, 1vw, 1rem);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Colores para diferentes posiciones */
.pos-1 .position-indicator {
    background: linear-gradient(135deg, var(--gold), #FFA500);
    color: white;
}

.pos-2 .position-indicator {
    background: linear-gradient(135deg, var(--silver), #A9A9A9);
    color: white;
}

.pos-3 .position-indicator {
    background: linear-gradient(135deg, var(--bronze), #D2691E);
    color: white;
}

.pos-clasificacion .position-indicator {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue));
    color: white;
}

.pos-media .position-indicator {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: var(--text-primary);
}

.pos-descenso .position-indicator {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    color: var(--text-primary);
}

/* Columnas específicas */
.pts-column {
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--accent-mint);
}

.positive-stat {
    color: #4CAF50;
    font-weight: 600;
}

.negative-stat {
    color: #F44336;
    font-weight: 600;
}

.neutral-stat {
    color: var(--text-secondary);
}

/* Tooltips personalizados */
.tooltip-abbr {
    cursor: help;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    position: relative;
}

.tooltip-abbr:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
    max-width: 200px;
    white-space: normal;
    text-align: center;
}

.tooltip-abbr:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

/* Legend - Responsive */
.legend {
    margin-top: 2rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 4px solid var(--accent-mint);
}

.legend-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 2vw, 1rem);
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    margin-bottom: 0.5rem;
}

.legend-color {
    width: clamp(15px, 4vw, 20px);
    height: clamp(15px, 4vw, 20px);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.legend-gold { background: linear-gradient(135deg, var(--gold), #FFA500); }
.legend-silver { background: linear-gradient(135deg, var(--silver), #A9A9A9); }
.legend-bronze { background: linear-gradient(135deg, var(--bronze), #D2691E); }
.legend-clasificacion { background: linear-gradient(135deg, var(--accent-mint), var(--accent-blue)); }
.legend-media { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.legend-descenso { background: linear-gradient(135deg, #FFEBEE, #FFCDD2); }

/* Mobile table indicator */
.mobile-scroll-indicator {
    display: none;
    text-align: center;
    padding: 1rem;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--text-secondary);
    font-style: italic;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 15px 15px;
    margin-top: -1px;
}

/* ==========================================================================
   FOOTER - RESPONSIVE
   ========================================================================== */

.footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: clamp(1.5rem, 4vw, 2rem) var(--container-padding);
    text-align: center;
    margin-top: 4rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* ==========================================================================
   FLOATING ELEMENTS - RESPONSIVE
   ========================================================================== */

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-element:nth-child(1) {
    width: clamp(40px, 10vw, 80px);
    height: clamp(40px, 10vw, 80px);
    background: var(--accent-mint);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: clamp(30px, 8vw, 60px);
    height: clamp(30px, 8vw, 60px);
    background: var(--accent-blue);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: clamp(20px, 6vw, 40px);
    height: clamp(20px, 6vw, 40px);
    background: var(--accent-pink);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(clamp(-10px, -3vw, -20px)); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animación a tarjetas con media query para performance */
@media (prefers-reduced-motion: no-preference) {
    .partido-card,
    .category-card,
    .feature-card {
        animation: fadeInUp 0.6s ease forwards;
    }

    .partido-card:nth-child(2) { animation-delay: 0.1s; }
    .partido-card:nth-child(3) { animation-delay: 0.2s; }
    .partido-card:nth-child(4) { animation-delay: 0.3s; }
    .partido-card:nth-child(5) { animation-delay: 0.4s; }
    .partido-card:nth-child(6) { animation-delay: 0.5s; }
    .partido-card:nth-child(7) { animation-delay: 0.6s; }
    .partido-card:nth-child(8) { animation-delay: 0.7s; }

    .positions-table tbody tr {
        animation: fadeInUp 0.6s ease forwards;
    }

    .positions-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
    .positions-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
    .positions-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
    .positions-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
    .positions-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
    .positions-table tbody tr:nth-child(6) { animation-delay: 0.6s; }
    .positions-table tbody tr:nth-child(7) { animation-delay: 0.7s; }
    .positions-table tbody tr:nth-child(8) { animation-delay: 0.8s; }
    .positions-table tbody tr:nth-child(9) { animation-delay: 0.9s; }
    .positions-table tbody tr:nth-child(10) { animation-delay: 1.0s; }
    .positions-table tbody tr:nth-child(11) { animation-delay: 1.1s; }
    .positions-table tbody tr:nth-child(12) { animation-delay: 1.2s; }
    .positions-table tbody tr:nth-child(13) { animation-delay: 1.3s; }
    .positions-table tbody tr:nth-child(14) { animation-delay: 1.4s; }
    .positions-table tbody tr:nth-child(15) { animation-delay: 1.5s; }
    .positions-table tbody tr:nth-child(16) { animation-delay: 1.6s; }
}

/* ==========================================================================
   RESPONSIVE DESIGN - BREAKPOINTS ESPECÍFICOS
   ========================================================================== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    :root {
        --container-padding: 2rem;
        --card-gap: 2rem;
    }
    
    .partidos-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .positions-table {
        font-size: 1rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .partidos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .positions-table {
        font-size: 0.9rem;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .partidos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .positions-table {
        font-size: 0.85rem;
        min-width: 650px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --container-padding: 1.5rem;
    }
    
    .partidos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .positions-table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    
    .mobile-scroll-indicator {
        display: block;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .partidos-grid {
        grid-template-columns: 1fr;
    }
    
    .vs-container {
        flex-direction: row;
        align-items: center;
    }
    
    .positions-table {
        font-size: 0.75rem;
        min-width: 550px;
    }
    
    .mobile-scroll-indicator {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-custom {
        width: 100%;
        max-width: 300px;
    }
}

/* Very Small Devices (up to 575px) */
@media (max-width: 575px) {
    :root {
        --container-padding: 1rem;
        --card-gap: 0.75rem;
    }
    
    .partidos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vs-container {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .equipo {
        flex: none;
        width: 100%;
    }
    
    .vs-divider {
        margin: 0.5rem 0;
    }
    
    .positions-table {
        font-size: 0.7rem;
        min-width: 500px;
    }
    
    .positions-table th,
    .positions-table td {
        padding: 0.4rem 0.2rem;
    }
    
    .equipo-cell {
        padding-left: 0.5rem !important;
        min-width: 100px;
        max-width: 120px;
    }
    
    .mobile-scroll-indicator {
        display: block;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand i {
        font-size: 1.4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-custom {
        width: 100%;
        max-width: 280px;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Ultra Small Devices (up to 360px) */
@media (max-width: 360px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    .fecha-section {
        border-radius: 15px;
        padding: 0.75rem;
    }
    
    .partido-card {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .resultado-score {
        font-size: 1.1rem;
        min-width: 30px;
        padding: 0.1rem 0.4rem;
    }
    
    .vs-divider {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .positions-table {
        min-width: 450px;
        font-size: 0.65rem;
    }
    
    .position-indicator {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
        margin-right: 0.25rem;
    }
    
    .equipo-cell {
        min-width: 80px;
        max-width: 100px;
    }
}

/* ==========================================================================
   UTILITY CLASSES - RESPONSIVE
   ========================================================================== */

/* Show/Hide utilities */
.d-mobile-only {
    display: none;
}

.d-desktop-only {
    display: block;
}

@media (max-width: 767px) {
    .d-mobile-only {
        display: block;
    }
    
    .d-desktop-only {
        display: none;
    }
}

/* Text utilities */
.text-responsive {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.text-responsive-sm {
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
}

.text-responsive-lg {
    font-size: clamp(1rem, 3vw, 1.2rem);
}

/* Spacing utilities */
.p-responsive {
    padding: clamp(0.5rem, 3vw, 1.5rem);
}

.m-responsive {
    margin: clamp(0.5rem, 3vw, 1.5rem);
}

/* ==========================================================================
   ACCESSIBILITY & PERFORMANCE
   ========================================================================== */

/* Focus states */
*:focus {
    outline: 2px solid var(--accent-mint);
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --accent-mint: #006600;
        --accent-blue: #000080;
    }
    
    .positions-table {
        border: 2px solid #000000;
    }
    
    .positions-table th,
    .positions-table td {
        border: 1px solid #000000;
    }
}

/* Print styles */
@media print {
    .navbar,
    .floating-element,
    .back-button {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .positions-table {
        font-size: 0.8rem;
    }
    
    .partido-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
.inscripcion-banner {
    background: linear-gradient(135deg, #81C784 0%, #64B5F6 100%);
    padding: clamp(0.75rem, 2vw, 1rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1020;
    animation: slideDown 0.5s ease-out;
}

.fixed-top-banner {
    position: sticky;
    top: 0;
    margin-top: clamp(100px, 12vh, 120px); /* Debajo del navbar */
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.banner-icon {
    width: clamp(45px, 10vw, 60px);
    height: clamp(45px, 10vw, 60px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.banner-text {
    flex: 1;
    min-width: 200px;
}

.banner-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
}

.btn-inscripcion {
    background: white;
    color: #81C784;
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 30px);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-inscripcion:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #81C784;
}