/* --- Reseteo y estilos básicos --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    background-color: #0b0f19; /* Fondo oscuro de respaldo que combina con el mapa */
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- Fondo de mapa con tu imagen local --- */
.mountain-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* AQUÍ ESTÁ EL CAMBIO RESPETANDO TU ARCHIVO EXACTO: */
    background-image: url('IMG/MAPA_TRIVANA2.jpg');
    
    /* Esto hace que el mapa se centre perfectamente y no se estire feo */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2; 
}

/* Capa de contraste opcional (si sientes que el texto no se lee bien, 
   puedes aumentar el 0.3 a 0.5 para oscurecerlo un poco más) */
.mountain-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.3); 
    z-index: -1; 
}

/* --- Contenedor principal --- */
.container {
    width: 90%;
    max-width: 1000px; 
    z-index: 1; 
    text-align: center;
    padding: 40px 0;
}

/* --- Contenido del héroe --- */
.hero-content h1 {
    font-size: 3.5rem; 
    font-weight: 800; 
    letter-spacing: 4px; 
    margin-bottom: 4rem; 
    text-transform: uppercase;
}

/* --- Estilos del temporizador --- */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem; 
    margin-bottom: 4rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
}

.time-value {
    font-size: 5.5rem; /* Reducido ligeramente para evitar desbordes en pantallas estándar */
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.8rem;
    font-feature-settings: "tnum" 1; 
}

.time-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #a0aec0; /* Gris claro para jerarquía visual */
}

/* Estilo para los dos puntos ":" separadores */
.time-separator {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: #ff3366; /* Rosa vibrante para hacer juego con tus botones */
    margin-top: 5px;
}

/* --- Texto descriptivo --- */
.description {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    color: #f0f0f0; 
    max-width: 750px;
    margin: 0 auto 4rem auto; 
}

/* --- Botones --- */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px; 
    transition: all 0.3s ease;
}

.btn-notify {
    background-color: #ff3366; 
    color: #ffffff;
    border: 2px solid transparent;
}

.btn-notify:hover {
    background-color: #e62e5c;
    transform: translateY(-2px);
}

.btn-about {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff; 
}

.btn-about:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- Iconos sociales --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5rem; /* Iconos más grandes y fáciles de presionar */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #ff3366; /* Cambia a rosa al pasar el cursor */
    transform: scale(1.2);
}

/* --- Adaptabilidad responsiva --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .countdown-container {
        gap: 0.8rem;
        margin-bottom: 3rem;
    }
    
    .time-block {
        min-width: 75px;
    }
    
    .time-value {
        font-size: 3.5rem;
    }

    .time-separator {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .countdown-container {
        gap: 0.4rem;
    }
    
    .time-block {
        min-width: 60px;
    }
    
    .time-value {
        font-size: 2.5rem;
    }
    
    .time-separator {
        font-size: 2rem;
        margin-top: 2px;
    }

    .time-label {
        font-size: 0.75rem;
    }
    
    .cta-buttons {
        flex-direction: column; 
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* =============================================================
   ESTILOS RESPONSIVOS PARA CUALQUIER DISPOSITIVO (BREAKPOINTS)
   ============================================================= */

/* 1. PANTALLAS ULTRA GRANDES (Smart TVs / Monitores 2K-4K) */
@media (min-width: 1441px) {
    .hero-content h1 {
        font-size: 4.5rem; /* Un título imponente en pantallas gigantes */
    }
    .time-value {
        font-size: 6.5rem; /* El contador se ve enorme y claro */
    }
}

/* 2. LAPTOPS Y ESCRITORIO ESTÁNDAR (Estilos Base) */
/* Nota: Tus estilos principales ya cubren este rango (1025px a 1440px), 
   así que no necesitas poner reglas extra aquí a menos que quieras ajustar algo */


/* 3. TABLETS (De 769px a 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 85%;
    }
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 3.5rem; /* Reducimos espacios para que no requiera scroll */
    }
    .countdown-container {
        gap: 1.2rem;
    }
    .time-block {
        min-width: 95px;
    }
    .time-value {
        font-size: 4.5rem;
    }
}


/* 4. CELULARES GRANDES / HORIZONTAL (De 481px a 768px) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .countdown-container {
        gap: 0.8rem;
        margin-bottom: 3rem;
    }
    .time-block {
        min-width: 75px;
    }
    .time-value {
        font-size: 3.5rem;
    }
    .time-separator {
        font-size: 2.8rem;
    }
    .description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}


/* 5. CELULARES PEQUEÑOS (480px o menos) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem; /* Tamaño compacto para que NO se corte el texto "Trivana Plus" */
        letter-spacing: 2px;
    }
    
    .countdown-container {
        gap: 0.4rem; /* Pegamos un poco los números para que quepan todos en una sola fila */
    }
    
    .time-block {
        min-width: 60px; /* Ancho ideal para pantallas como iPhone 13 mini */
    }
    
    .time-value {
        font-size: 2.3rem; /* Evita que los números se encimen */
    }
    
    .time-separator {
        font-size: 1.8rem;
        margin-top: 2px;
    }

    .time-label {
        font-size: 0.75rem; /* Letras de "Días, Horas" más pequeñas para diseño limpio */
    }
    
    /* Los botones se apilan verticalmente para que sea cómodo presionar con el pulgar */
    .cta-buttons {
        flex-direction: column; 
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px; /* Botones estéticos a lo ancho de la pantalla */
    }
    
    .social-icons {
        gap: 1.5rem; /* Separación perfecta para los dedos en redes sociales */
    }
}