/* --------------------------------------
 * 1. Estilos Generales y Fondo Oscuro
 * -------------------------------------- */
:root {
    --dark-bg: #111827; /* Azul/Gris oscuro principal */
    --primary-color: #3b82f6; /* Azul brillante de acento */
    --light-text: #e5e7eb;
    --highlight-text: #10b981; /* Verde menta para resaltar */
}

body {
    font-family: 'Space Mono', monospace; /* Tipografía técnica */
    background-color: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden; /* Evita barras de desplazamiento por animación */
}

/* Contenedor principal centrado */
.container {
    background-color: rgba(17, 24, 39, 0.95); /* Semi-transparente sobre la animación */
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* --------------------------------------
 * 2. Animación de Fondo
 * -------------------------------------- */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background-image: 
        repeating-linear-gradient(0deg, var(--dark-bg), var(--dark-bg) 50px, #0f172a 50px, #0f172a 100px),
        url('data:image/svg+xml;base64,...'); /* Placeholder para un patrón de código o binario */
    background-size: 100px 100px;
    opacity: 0.3;
    animation: background-move 60s linear infinite;
}

/* Define la animación de movimiento suave */
@keyframes background-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px; /* Desplazamiento lento */
    }
}

/* --------------------------------------
 * 3. Logo, Títulos y Texto
 * -------------------------------------- */
.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 0px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.main-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-title strong {
    color: var(--highlight-text);
}

/* Iconos animados junto al título */
.icon-animation {
    margin: 0 10px;
    animation: pulse 2s infinite ease-in-out alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.message {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--light-text);
}

/* --------------------------------------
 * 4. Cuenta Regresiva Estilizada
 * -------------------------------------- */
.countdown-container {
    margin: 30px 0;
    padding: 20px 0;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background-color: #0f172a; /* Fondo más oscuro para los bloques */
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    min-width: 80px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); /* Sombra de neón */
}

.time-block span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--highlight-text);
    line-height: 1;
    margin-bottom: 5px;
}

/* --------------------------------------
 * 5. Contacto y Footer
 * -------------------------------------- */
.contact-info {
    font-size: 0.9rem;
    margin-top: 40px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--light-text);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--highlight-text);
    text-decoration: underline;
}

.footer-text {
    font-size: 0.85rem;
    color: #9ca3af;
    border-top: 1px solid #1f2937;
    padding-top: 20px;
}

.footer-text2 {
    font-size: 0.85rem;
    color: #9ca3af;
    border-top: 1px solid #1f293700;
}
/* --------------------------------------
 * 6. Responsivo (Media Queries)
 * -------------------------------------- */
@media (max-width: 600px) {
    .container {
        padding: 40px 15px;
    }

    .main-title {
        font-size: 1.6rem;
    }
    
    .main-title i {
        display: none; /* Oculta los iconos en móviles pequeños */
    }

    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }

    .time-block {
        flex-basis: calc(50% - 10px); /* Dos columnas */
        min-width: unset;
        padding: 10px 5px;
    }

    .time-block span {
        font-size: 2rem;
    }
}