/* --- ESTILOS GENERALES (SE PARTE) --- */

.main-title {
    font-family: new rocker;
    font-size: 6rem; 
    line-height: 0.9; 
    color: #f1c916;  
    margin-bottom: 10px;
}

.hero-content {
    text-align: center; /* Centra el texto */
    color: white;       /* resalta sobre el fondo */
    z-index: 2;
}

.Botones_experiencia {
    display: flex;
    justify-content: center; /* Centra los botones horizontalmente */
    gap: 30px;              /* Espacio entre los dos botones */
    margin-top: 40px;       /* Distancia con el título principal */
}

.Botones_experiencia a {
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #f1c916; /* Borde dorado original */
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.4s; /* Transición suave */
    border-radius: 5px;
}

.btn-experiencia:hover {
    background-color: rgba(19, 228, 12, 0.4) !important; 
    border-color: #51cc0a !important; 
    box-shadow: 0 0 20px rgba(44, 179, 3, 0.5);
    color: white !important;
}

.btn-iniciacion:hover {
    background-color: rgba(255, 0, 0, 0.4) !important; 
    border-color: #ff0000 !important; 
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    color: white !important;
}

/* --- MODAL (CONTENEDOR) --- */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Un poco más oscuro para mejor contraste */
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #000;
    padding: 0;
    border: 2px solid #f1c916;
    width: 90%;
    max-width: 800px;
    min-height: 450px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- BOTÓN CERRAR (OPTIMIZADO PARA MÓVIL) --- */

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 1001; /* Siempre por encima de todo */
    background: rgba(0, 0, 0, 0.6); /* Fondo para que se vea siempre sobre el video */
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.close-btn:hover {
    color: #f1c916;
    transform: scale(1.1);
}

/* --- PANTALLAS INTERNAS --- */

.pre-video-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    padding: 20px;
    text-align: center;
}

.play-icon {
    font-size: 50px;
    color: #f1c916;
    margin-bottom: 15px;
}

.pre-video-screen p {
    color: #fff;
    font-family: sans-serif;
    margin-bottom: 20px;
}

.btn-start {
    background-color: #f1c916;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

.video-wrapper {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
}

video {
    width: 100%;
    max-height: 75vh; /* Evita que en móviles tape toda la pantalla */
    outline: none;
    display: block;
}

.conversion-plate {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: radial-gradient(circle, #1a1a1a 0%, #000000 100%);
}

.conversion-plate h2 {
    color: #f1c916;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.conversion-plate p {
    color: #ddd;
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.coordinator-info {
    margin-top: 25px;
    font-family: sans-serif;
    color: #888;
    font-size: 0.85rem;
}

.phone-link {
    color: #f1c916;
    text-decoration: none;
    font-weight: bold;
}

/* --- RESPONSIVE FINAL (MOBILE) --- */

@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem; /* Título más pequeño en móvil */
    }

    .Botones_experiencia {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .Botones_experiencia a {
        width: 85%;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        min-height: auto; /* Que se adapte al contenido en móvil */
    }

    .conversion-plate h2 {
        font-size: 1.6rem;
    }

    .conversion-plate p {
        font-size: 1rem;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}