/* ==========================================================================
   Estilos Base y Variables (Paleta Modo Oscuro / Neón)
   ========================================================================== */
:root {
    --bg-dark: #2a2a2a;
    --neon-blue: #00d2ff;
    --neon-purple: #9b51e0;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --glass-bg: rgba(42, 42, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================================================
   Contenedor Principal (Hero Image)
   ========================================================================== */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* IMPORTANTE: Cambia 'screenshot.png' por el nombre real de tu imagen */
    background: url('qubik.png');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Capa de Difuminado Transparente (Efecto Frosted Glass completo) */
/* Capa de Difuminado Transparente (Ajustada para mayor visibilidad del fondo) */
.overlay-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.05); /* Menos oscuridad (antes 0.65) */
    backdrop-filter: blur(6px) saturate(140%); /* Menos difuminado (antes 20px) */
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    z-index: 1;
}

/* Tarjeta contenedora de la información */
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    text-align: center;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 30px; /* Reducido el padding vertical a 25px (antes 40px) */
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* También reducimos este margen para recortar aún más la altura total */
.header {
    margin-bottom: 20px; /* Reducido a 20px (antes 40px) */
}

.countdown-section {
    margin-bottom: 25px; 
}
    

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.logo-q {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.logo-t {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(155, 81, 224, 0.5);
}

.main-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Sección del Cronómetro
   ========================================================================== */
.countdown-section {
    margin-bottom: 40px;
}

.sub-title {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.4;
}

.highlight {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-blue);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Permite que los elementos bajen si no caben */
}

.time-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    min-width: 110px;
    flex: 1;
    max-width: 140px;
}

.time-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
}

.time-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.footer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ==========================================================================
   Responsive Design para cualquier dispositivo
   ========================================================================== */

/* Tabletas */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 35px 20px;
        margin: 10px;
    }
    
    .sub-title {
        font-size: 1.4rem;
    }

    .time-number {
        font-size: 2.2rem;
    }
    
    .time-block {
        min-width: 90px;
        padding: 15px 10px;
    }
}

/* Dispositivos Móviles Pequeños */
@media (max-width: 480px) {
    .logo { font-size: 2rem; }
    .sub-title { font-size: 1.2rem; }

    .countdown-container {
        gap: 10px;
    }

    /* Se acomodan en una matriz 2x2 para optimizar el espacio vertical */
    .time-block {
        flex: 1 1 calc(50% - 10px); 
        max-width: 100%;
        padding: 12px 5px;
    }

    .time-number {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Estilos para el Banner de Logotipo
   ========================================================================== */
.banner-logo {
    width: 100%;             /* Ocupa el ancho disponible */
    max-width: 350px;        /* Tamaño máximo ideal para que no se vea gigante en PC */
    height: auto;            /* Mantiene la proporción original de la imagen sin deformarla */
    display: block;
    margin: 0 auto;          /* Centra la imagen horizontalmente */
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.3)); /* Añade un sutil brillo neón de fondo */
}

/* Ajuste opcional para móviles muy pequeños */
@media (max-width: 480px) {
    .banner-logo {
        max-width: 260px;    /* Se reduce ligeramente en pantallas de celular */
    }
}