/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #222;
    color: white;
}

/* Fondo responsivo */
.bg-overlay {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../img/fondo.jpg'); /* Ruta relativa a la carpeta img */
    background-size: cover;
    background-position: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Diseño del Contador */
.countdown-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.time-segment {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-segment span {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
}

.label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* ADAPTACIÓN A TABLETS Y MÓVILES */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .time-segment { min-width: 80px; padding: 15px; }
    .time-segment span { font-size: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    p { font-size: 0.9rem; }
    .countdown-container { gap: 10px; }
    .time-segment { min-width: 70px; padding: 10px; }
}