/* --- Reseteo y Estilos Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212; /* Un fondo oscuro y elegante */
    color: #e0e0e0; /* Un color de texto gris claro para no cansar la vista */
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    display: grid;
    place-items: center; /* El método moderno para centrar perfectamente */
    text-align: center;
    overflow: hidden; /* Evita barras de scroll innecesarias */
}

/* --- Contenedor Principal --- */
.container {
    padding: 20px;
}

h1 {
    font-size: 5rem; /* Letras grandes para el nombre */
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    color: #ffffff; /* El título un poco más brillante */
}

p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #a0a0a0;
}

/* --- Estilo del Contador --- */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Espacio entre los bloques de tiempo */
}

.time-block {
    background: rgba(255, 255, 255, 0.05); /* Fondo semitransparente */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    min-width: 120px; /* Ancho mínimo para cada bloque */
}

.time-block span:first-child {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.time-block span:last-child {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0a0a0;
}

/* --- Adaptación para dispositivos móviles (Responsive) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    p {
        font-size: 1rem;
    }

    .countdown {
        gap: 1rem;
    }
    
    .time-block {
        padding: 1rem;
        min-width: 80px;
    }

    .time-block span:first-child {
        font-size: 2.5rem;
    }
}