/* ===== NIVEL INTERMEDIO - DISEÑO TECNOLÓGICO ===== */

/* Variables del Nivel Intermedio */
:root {
    --nivel-primary: #4A90E2;
    --nivel-secondary: #7B68EE;
    --nivel-accent: #00CED1;
    --nivel-dark: #1A1A2E;
    --nivel-light: #F8F9FA;
    --nivel-glow: #4A90E2;
    --nivel-gradient: linear-gradient(135deg, #4A90E2, #7B68EE);
    --nivel-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
    --nivel-border: 2px solid rgba(74, 144, 226, 0.3);
}

/* ===== SECCIÓN NIVEL INTERMEDIO ===== */
.nivel-intermedio {
    position: relative;
    padding: 8rem 0;
    background: var(--nivel-dark);
    overflow: hidden;
}

/* ===== TÍTULO PRINCIPAL ===== */
.nivel-main-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--nivel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(74, 144, 226, 0.6);
    animation: nivelTitleGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.nivel-main-title .title-gradient {
    background: linear-gradient(135deg, var(--nivel-primary), var(--nivel-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.8));
}

.nivel-main-subtitle {
    font-size: 1.8rem;
    color: var(--nivel-light);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.nivel-main-subtitle .subtitle-accent {
    color: var(--nivel-accent);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 206, 209, 0.6);
    animation: nivelSubtitleGlow 4s ease-in-out infinite alternate;
}

@keyframes nivelTitleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(74, 144, 226, 0.6)); }
}

@keyframes nivelSubtitleGlow {
    0% { 
        filter: drop-shadow(0 0 15px rgba(0, 206, 209, 0.4));
        text-shadow: 0 0 20px rgba(0, 206, 209, 0.6);
    }
    100% { 
        filter: drop-shadow(0 0 25px rgba(0, 206, 209, 0.8));
        text-shadow: 0 0 30px rgba(0, 206, 209, 0.9);
    }
}

/* Fondo Tecnológico */
.nivel-intermedio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(74, 144, 226, 0.05) 50%, transparent 70%);
    animation: nivelBackgroundShift 20s ease-in-out infinite;
}

@keyframes nivelBackgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-10px); }
    50% { transform: translateX(10px) translateY(10px); }
    75% { transform: translateX(-5px) translateY(5px); }
}

/* Grid de Fondo */
.nivel-intermedio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(74, 144, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 226, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: nivelGridMove 30s linear infinite;
    opacity: 0.3;
}

@keyframes nivelGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Contenedor Principal */
.nivel-content {
    position: relative;
    z-index: 2;
}

/* ===== HERO TRANSFORMADO ===== */
.nivel-hero {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 2rem;
    background: rgba(74, 144, 226, 0.05);
    border: var(--nivel-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.nivel-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    animation: nivelRotate 10s linear infinite;
}

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

.nivel-hero-content {
    position: relative;
    z-index: 2;
}

.nivel-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--nivel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
    animation: nivelTitleGlow 3s ease-in-out infinite alternate;
}

.nivel-hero-subtitle {
    font-size: 1.5rem;
    color: var(--nivel-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.nivel-hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-text {
    font-size: 1.3rem;
    color: var(--nivel-light);
    font-weight: 500;
    padding: 1rem 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    backdrop-filter: blur(10px);
}

.highlight-reason {
    font-size: 1.1rem;
    color: var(--nivel-accent);
    font-style: italic;
    padding: 1rem 2rem;
    background: rgba(0, 206, 209, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 206, 209, 0.3);
    backdrop-filter: blur(10px);
}

/* ===== SECCIONES INTERACTIVAS ===== */
.nivel-section {
    margin-bottom: 5rem;
    padding: 3rem;
    background: rgba(74, 144, 226, 0.03);
    border: var(--nivel-border);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nivel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.nivel-section:hover::before {
    left: 100%;
}

.nivel-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--nivel-shadow);
    border-color: var(--nivel-primary);
}

.nivel-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
}

.nivel-section-header h3 {
    color: var(--nivel-primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nivel-section-header h3 i {
    font-size: 1.8rem;
    color: var(--nivel-accent);
}

.nivel-badge {
    background: var(--nivel-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    animation: nivelBadgePulse 2s ease-in-out infinite;
}

@keyframes nivelBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== GRID DE BENEFICIOS ===== */
.nivel-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.nivel-benefit-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nivel-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nivel-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.nivel-benefit-card:hover::before {
    opacity: 0.1;
}

.nivel-benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--nivel-shadow);
    border-color: var(--nivel-primary);
}

.nivel-benefit-icon {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--nivel-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    transition: all 0.4s ease;
}

.nivel-benefit-card:hover .nivel-benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.6);
}

.nivel-benefit-card h4 {
    position: relative;
    z-index: 2;
    color: var(--nivel-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.nivel-benefit-card p {
    position: relative;
    z-index: 2;
    color: var(--nivel-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* ===== ALERTA DE VIDEO CHESSKID ===== */
.chesskid-card {
    cursor: pointer;
    position: relative;
}

.chesskid-video-alert {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--nivel-accent), #00b894);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
    transition: all 0.3s ease;
    z-index: 3;
    animation: chesskidAlertPulse 2s ease-in-out infinite;
}

.chesskid-video-alert i {
    font-size: 0.9rem;
}

.chesskid-video-alert:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 206, 209, 0.6);
}

@keyframes chesskidAlertPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 206, 209, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 206, 209, 0.6);
    }
}

/* ===== SELECTOR DE HORARIOS ===== */
.nivel-horarios-selector {
    margin-top: 3rem;
}

.nivel-selector-header {
    text-align: center;
    margin-bottom: 4rem;
}

.nivel-selector-header h4 {
    color: var(--nivel-light);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.nivel-selector-header p {
    color: var(--nivel-accent);
    font-size: 1.2rem;
}

.nivel-paises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.nivel-pais-selector {
    cursor: pointer;
    transition: all 0.4s ease;
}

.nivel-pais-selector:hover .nivel-pais-card {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(74, 144, 226, 0.4);
}

.nivel-pais-card {
    background: rgba(74, 144, 226, 0.05);
    border: 2px solid rgba(74, 144, 226, 0.2);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.nivel-pais-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nivel-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nivel-pais-selector:hover .nivel-pais-card::before {
    opacity: 0.1;
}

.nivel-pais-flag-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(74, 144, 226, 0.3));
}

.nivel-pais-card h5 {
    color: var(--nivel-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.nivel-pais-timezone {
    color: var(--nivel-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.nivel-pais-indicator {
    color: var(--nivel-primary);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.nivel-pais-selector:hover .nivel-pais-indicator {
    transform: translateY(5px) scale(1.2);
    color: var(--nivel-accent);
}

/* ===== DISPLAY DE HORARIOS ===== */
.nivel-horarios-display {
    background: rgba(74, 144, 226, 0.05);
    border: var(--nivel-border);
    border-radius: 25px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(15px);
}

.nivel-horarios-placeholder {
    color: var(--nivel-light);
}

.nivel-placeholder-icon {
    font-size: 5rem;
    color: var(--nivel-primary);
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: nivelIconFloat 4s ease-in-out infinite;
}

@keyframes nivelIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.nivel-horarios-placeholder h4 {
    color: var(--nivel-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.nivel-horarios-placeholder p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--nivel-light);
}

/* ===== DETALLE DE HORARIOS ===== */
.nivel-horarios-pais-detalle {
    background: rgba(74, 144, 226, 0.08);
    border: 3px solid var(--nivel-primary);
    border-radius: 25px;
    margin-top: 2rem;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: nivelSlideInHorarios 0.6s ease-out;
}

/* Clase para mostrar horarios del nivel intermedio */
.nivel-horarios-pais-detalle.mostrar-horarios {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Asegurar que funcione en móviles con mayor especificidad */
@media (max-width: 768px) {
    .nivel-horarios-pais-detalle.mostrar-horarios {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .nivel-horarios-pais-detalle.mostrar-horarios {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@keyframes nivelSlideInHorarios {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nivel-pais-detalle-header {
    background: var(--nivel-gradient);
    color: white;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nivel-pais-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nivel-pais-info .nivel-pais-flag {
    font-size: 3rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.nivel-pais-info h4 {
    font-size: 2.2rem;
    margin: 0 0 0.75rem 0;
    font-weight: 800;
}

.nivel-pais-info .nivel-pais-timezone {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.nivel-cerrar-horarios {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nivel-cerrar-horarios:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.nivel-horario-dias-detalle {
    padding: 2.5rem;
}

.nivel-dia-horario-detalle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.4s ease;
}

.nivel-dia-horario-detalle:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--nivel-primary);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.nivel-dia-horario-detalle:last-child {
    margin-bottom: 0;
}

.nivel-dia-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nivel-dia-numero {
    background: var(--nivel-gradient);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.nivel-dia-nombre {
    color: var(--nivel-light);
    font-weight: 700;
    font-size: 1.3rem;
}

.nivel-horario-info {
    text-align: right;
}

.nivel-horario-tiempo {
    display: block;
    color: var(--nivel-primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.nivel-horario-duracion {
    color: var(--nivel-accent);
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
}

/* ===== PRECIOS ===== */
.nivel-pricing {
    margin-bottom: 5rem;
    padding: 4rem;
    background: rgba(74, 144, 226, 0.05);
    border: var(--nivel-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

.nivel-pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.nivel-pricing-header h3 {
    color: var(--nivel-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.nivel-pricing-subtitle {
    color: var(--nivel-accent);
    font-size: 1.3rem;
}

.nivel-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.nivel-pricing-card {
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.nivel-pricing-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--nivel-primary), var(--nivel-accent));
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    z-index: 2;
}

.nivel-pricing-label .nivel-label-text {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nivel-pricing-label .nivel-label-flag {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nivel-pricing-card.primary {
    background: rgba(74, 144, 226, 0.1);
    border: 3px solid var(--nivel-primary);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.nivel-pricing-card.secondary {
    background: rgba(0, 206, 209, 0.05);
    border: 3px solid rgba(0, 206, 209, 0.3);
}

.nivel-pricing-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(74, 144, 226, 0.4);
}

.nivel-pricing-amount {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    margin: 0;
    padding: 2rem 0;
}

.nivel-currency {
    font-size: 2rem;
    color: var(--nivel-light);
    font-weight: 600;
}

.nivel-amount {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--nivel-primary);
    margin: 0 0.5rem;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
}

.nivel-period {
    font-size: 1.3rem;
    color: var(--nivel-accent);
    font-weight: 600;
}

.nivel-pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.nivel-feature {
    color: var(--nivel-light);
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.nivel-feature:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: var(--nivel-primary);
    transform: translateX(5px);
}

/* ===== CTA FINAL ===== */
.nivel-cta-final {
    text-align: center;
    padding: 6rem 4rem;
    background: rgba(74, 144, 226, 0.08);
    border: var(--nivel-border);
    border-radius: 35px;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.nivel-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 206, 209, 0.1) 0%, transparent 50%);
    animation: nivelCtaGlow 8s ease-in-out infinite;
}

@keyframes nivelCtaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nivel-cta-content {
    position: relative;
    z-index: 2;
}

.nivel-cta-hero {
    margin-bottom: 4rem;
}

.nivel-cta-sparkle {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
    animation: nivelSparkleRotate 3s ease-in-out infinite;
}

@keyframes nivelSparkleRotate {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
}

.nivel-cta-hero h3 {
    color: var(--nivel-light);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
    background: var(--nivel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(74, 144, 226, 0.5);
}

.nivel-cta-hero p {
    color: var(--nivel-accent);
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nivel-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.nivel-cta-main-action {
    position: relative;
}

.nivel-btn-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2rem 4rem;
    border-radius: 80px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    transition: all 0.5s ease;
    overflow: hidden;
    background: var(--nivel-gradient);
    color: white;
    border: none;
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
    transform-style: preserve-3d;
}

.nivel-btn-cta-primary:hover {
    transform: translateY(-10px) scale(1.05) rotateX(10deg);
    box-shadow: 0 30px 80px rgba(74, 144, 226, 0.6);
}

.nivel-btn-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.nivel-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nivel-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.nivel-btn-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nivel-btn-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.nivel-btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 80px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nivel-btn-cta-primary:hover .nivel-btn-glow {
    opacity: 1;
}

/* ===== BOTÓN CONOCER ENTRENADORA ===== */
.nivel-entrenadora-cta {
    margin-top: 3rem;
    text-align: center;
}

.nivel-btn-conocer-entrenadora {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--nivel-accent), #00b894);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 206, 209, 0.4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nivel-btn-conocer-entrenadora::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.nivel-btn-conocer-entrenadora:hover::before {
    left: 100%;
}

.nivel-btn-conocer-entrenadora:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 206, 209, 0.6);
}

.nivel-btn-conocer-entrenadora i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.nivel-btn-conocer-entrenadora:hover i:last-child {
    transform: translateX(5px);
}

/* ===== MODAL DE LA ENTRENADORA ===== */
.modal-entrenadora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-entrenadora.active {
    display: flex;
    opacity: 1;
}

.modal-entrenadora-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-entrenadora-container {
    position: relative;
    width: 95%;
    max-width: 1000px;
    max-height: 95vh;
    margin: auto;
    background: var(--nivel-dark);
    border: 3px solid var(--nivel-accent);
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 206, 209, 0.4);
    overflow: hidden;
    animation: modalEntrenadoraSlideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalEntrenadoraSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-entrenadora-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, var(--nivel-accent), #00b894);
    color: white;
}

.modal-entrenadora-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-entrenadora-header h3 i {
    font-size: 1.6rem;
}

.modal-entrenadora-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-entrenadora-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.modal-entrenadora-content {
    flex: 1;
    padding: 0;
    background: var(--nivel-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-entrenadora-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

/* ===== MODAL DEL VIDEO CHESSKID ===== */
.modal-chesskid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-chesskid.active {
    display: flex;
    opacity: 1;
}

.modal-chesskid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-chesskid-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    margin: auto;
    background: var(--nivel-dark);
    border: 3px solid var(--nivel-accent);
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 206, 209, 0.4);
    overflow: hidden;
    animation: modalChessKidSlideIn 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalChessKidSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-chesskid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, var(--nivel-accent), #00b894);
    color: white;
}

.modal-chesskid-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-chesskid-header h3 i {
    font-size: 1.6rem;
}

.modal-chesskid-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.modal-chesskid-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.modal-chesskid-content {
    flex: 1;
    padding: 2rem;
    background: var(--nivel-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-chesskid-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 206, 209, 0.3);
    background: #000;
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 768px) {
    .nivel-intermedio {
        padding: 3rem 0;
        margin: 0;
    }
    
    .nivel-main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-main-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .nivel-hero {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .nivel-hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .nivel-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nivel-section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }
    
    .nivel-section-header h3 {
        font-size: 1.4rem;
    }
    
    .nivel-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .nivel-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .nivel-benefit-card {
        padding: 1.5rem;
    }
    
    .nivel-benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-benefit-card h4 {
        font-size: 1.3rem;
    }
    
    .nivel-benefit-card p {
        font-size: 1rem;
    }
    
    .nivel-paises-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .nivel-pais-card {
        padding: 1.5rem 1rem;
    }
    
    .nivel-pais-flag-large {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-pais-card h5 {
        font-size: 1.3rem;
    }
    
    .nivel-pais-timezone {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .nivel-horarios-display {
        padding: 2rem 1rem;
    }
    
    .nivel-placeholder-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-horarios-placeholder h4 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .nivel-horarios-placeholder p {
        font-size: 1rem;
    }
    
    .nivel-pais-detalle-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nivel-pais-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .nivel-pais-info .nivel-pais-flag {
        font-size: 2rem;
    }
    
    .nivel-pais-info h4 {
        font-size: 1.5rem;
        margin: 0;
    }
    
    .nivel-pais-info .nivel-pais-timezone {
        font-size: 1rem;
    }
    
    .nivel-cerrar-horarios {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .nivel-horario-dias-detalle {
        padding: 1.5rem;
    }
    
    .nivel-dia-horario-detalle {
        padding: 1rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .nivel-dia-info {
        justify-content: center;
        gap: 1rem;
    }
    
    .nivel-dia-numero {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nivel-dia-nombre {
        font-size: 1.1rem;
    }
    
    .nivel-horario-info {
        text-align: center;
    }
    
    .nivel-horario-tiempo {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .nivel-horario-duracion {
        font-size: 0.9rem;
    }
    
    .nivel-pricing {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .nivel-pricing-header {
        margin-bottom: 2rem;
    }
    
    .nivel-pricing-header h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .nivel-pricing-subtitle {
        font-size: 1.1rem;
    }
    
    .nivel-pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nivel-pricing-card {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    
    .nivel-pricing-label {
        top: -12px;
        padding: 0.6rem 1.2rem;
    }
    
    .nivel-pricing-label .nivel-label-text {
        font-size: 0.8rem;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }
    
    .nivel-pricing-label .nivel-label-flag {
        font-size: 1rem;
    }
    
    .nivel-pricing-amount {
        min-height: 100px;
        padding: 1.5rem 0;
    }
    
    .nivel-currency {
        font-size: 1.5rem;
    }
    
    .nivel-amount {
        font-size: 3rem;
    }
    
    .nivel-period {
        font-size: 1.1rem;
    }
    
    .nivel-pricing-features {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .nivel-feature {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .nivel-cta-final {
        padding: 3rem 1rem;
    }
    
    .nivel-cta-hero {
        margin-bottom: 3rem;
    }
    
    .nivel-cta-sparkle {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-cta-hero h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-cta-hero p {
        font-size: 1.1rem;
    }
    
    .nivel-cta-actions {
        gap: 2rem;
    }
    
    .nivel-btn-cta-primary {
        padding: 1.25rem 2rem;
    }
    
    .nivel-btn-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .nivel-btn-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .nivel-btn-text {
        align-items: center;
        gap: 0.25rem;
    }
    
    .nivel-btn-title {
        font-size: 1.2rem;
    }
    
    .nivel-btn-subtitle {
        font-size: 0.85rem;
    }
    
    .nivel-btn-conocer-entrenadora {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .modal-entrenadora-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-entrenadora-header {
        padding: 1.5rem 2rem;
    }
    
    .modal-entrenadora-header h3 {
        font-size: 1.4rem;
    }
    
    .modal-entrenadora-content {
        padding: 0;
    }
    
    .chesskid-video-alert {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .chesskid-video-alert i {
        font-size: 0.9rem;
    }
    
    .modal-chesskid-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-chesskid-header {
        padding: 1.5rem 2rem;
    }
    
    .modal-chesskid-header h3 {
        font-size: 1.4rem;
    }
    
    .modal-chesskid-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .nivel-intermedio {
        padding: 2rem 0;
        margin: 0;
    }
    
    .nivel-main-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .nivel-main-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .nivel-hero {
        padding: 1.5rem 0.75rem;
        margin-bottom: 2rem;
    }
    
    .nivel-hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .nivel-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-section-header {
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
    }
    
    .nivel-section-header h3 {
        font-size: 1.2rem;
    }
    
    .nivel-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }
    
    .nivel-benefits-grid {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .nivel-benefit-card {
        padding: 1rem;
    }
    
    .nivel-benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .nivel-benefit-card p {
        font-size: 0.9rem;
    }
    
    .nivel-paises-grid {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-pais-card {
        padding: 1rem 0.75rem;
    }
    
    .nivel-pais-flag-large {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .nivel-pais-card h5 {
        font-size: 1.1rem;
    }
    
    .nivel-pais-timezone {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .nivel-horarios-display {
        padding: 1.5rem 0.75rem;
    }
    
    .nivel-placeholder-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-horarios-placeholder h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .nivel-horarios-placeholder p {
        font-size: 0.9rem;
    }
    
    .nivel-pais-detalle-header {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .nivel-pais-info {
        gap: 0.75rem;
    }
    
    .nivel-pais-info .nivel-pais-flag {
        font-size: 1.5rem;
    }
    
    .nivel-pais-info h4 {
        font-size: 1.3rem;
    }
    
    .nivel-pais-info .nivel-pais-timezone {
        font-size: 0.9rem;
    }
    
    .nivel-cerrar-horarios {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .nivel-horario-dias-detalle {
        padding: 1rem;
    }
    
    .nivel-dia-horario-detalle {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .nivel-dia-info {
        gap: 0.75rem;
    }
    
    .nivel-dia-numero {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .nivel-dia-nombre {
        font-size: 1rem;
    }
    
    .nivel-horario-tiempo {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .nivel-horario-duracion {
        font-size: 0.8rem;
    }
    
    .nivel-pricing {
        padding: 1.5rem 0.75rem;
        margin-bottom: 2rem;
    }
    
    .nivel-pricing-header {
        margin-bottom: 1.5rem;
    }
    
    .nivel-pricing-header h3 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .nivel-pricing-subtitle {
        font-size: 1rem;
    }
    
    .nivel-pricing-cards {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-pricing-card {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .nivel-pricing-label {
        top: -10px;
        padding: 0.5rem 1rem;
    }
    
    .nivel-pricing-label .nivel-label-text {
        font-size: 0.7rem;
        line-height: 1.3;
        text-align: center;
        white-space: nowrap;
    }
    
    .nivel-pricing-label .nivel-label-flag {
        font-size: 0.9rem;
    }
    
    .nivel-pricing-amount {
        min-height: 90px;
        padding: 1.2rem 0;
    }
    
    .nivel-currency {
        font-size: 1.2rem;
    }
    
    .nivel-amount {
        font-size: 2.5rem;
    }
    
    .nivel-period {
        font-size: 1rem;
    }
    
    .nivel-pricing-features {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .nivel-feature {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    
    .nivel-cta-final {
        padding: 2rem 0.75rem;
    }
    
    .nivel-cta-hero {
        margin-bottom: 2rem;
    }
    
    .nivel-cta-sparkle {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-cta-hero h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .nivel-cta-hero p {
        font-size: 1rem;
    }
    
    .nivel-cta-actions {
        gap: 1.5rem;
    }
    
    .nivel-btn-cta-primary {
        padding: 1rem 1.5rem;
    }
    
    .nivel-btn-content {
        gap: 0.5rem;
    }
    
    .nivel-btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .nivel-btn-text {
        gap: 0.2rem;
    }
    
    .nivel-btn-title {
        font-size: 1.1rem;
    }
    
    .nivel-btn-subtitle {
        font-size: 0.8rem;
    }
    
    .nivel-btn-conocer-entrenadora {
        padding: 1rem 2rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-entrenadora-container {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-entrenadora-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-entrenadora-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-entrenadora-content {
        padding: 0;
    }
    
    .chesskid-video-alert {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
    }
    
    .chesskid-video-alert i {
        font-size: 0.8rem;
    }
    
    .modal-chesskid-container {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-chesskid-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-chesskid-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-chesskid-content {
        padding: 0.5rem;
    }
}
