/* popup_styles.css */

/* Estilos para el Pop-up de Construcción */
.construction-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semi-transparente */
    display: flex; /* Para centrar el contenido */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de todo */
    backdrop-filter: blur(5px); /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(5px); /* Compatibilidad con Safari */
    opacity: 0; /* Inicialmente oculto */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Transición suave */
}

.construction-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.construction-popup-content {
    background-color: #2a2a2a; /* Fondo oscuro del pop-up */
    color: #e0e0e0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.5); /* Sombra RGB */
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid; /* Borde para el efecto RGB */
    animation: rgb-border-animation 3s infinite alternate; /* Animación de borde RGB */
    transform: translateY(-50px); /* Para la animación de entrada */
    transition: transform 0.3s ease;
}

.construction-popup-overlay.show .construction-popup-content {
    transform: translateY(0);
}

.construction-popup-content h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #00ffff; /* Cian brillante */
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
}

.construction-popup-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
}

.construction-popup-content button {
    background-color: #00cc00; /* Verde brillante para el botón de cerrar */
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.construction-popup-content button:hover {
    background-color: #009900;
    transform: translateY(-2px);
}

/* Animación para el borde del pop-up */
@keyframes rgb-border-animation {
    0% { border-color: #00ffff; } /* Cian */
    25% { border-color: #ff00ff; } /* Magenta */
    50% { border-color: #ffff00; } /* Amarillo */
    75% { border-color: #00ff00; } /* Verde */
    100% { border-color: #00ffff; }
}