@charset "utf-8";
/* CSS Document */


* { /* Para asegurar que las fuentes se vean "filosas" y no suavizadas de más en Mac e iOS, añade esta propiedad a tu CSS global */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.modal-total {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 1. Degradado Naranja con Transparencia (85%) */
    background: linear-gradient(135deg, rgba(255, 145, 0, 0.85) 0%, rgba(255, 109, 0, 0.85) 100%);
    
    /* 2. El efecto de desenfoque */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); /* Soporte para Safari */
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
    transition: all 0.6s ease;
}

/* Esta clase se activa al hacer clic con JavaScript */
.hidden {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px); /* El desenfoque también se desvanece */
}

.contenido-modal {
    text-align: center;
    color: white;
    font-family: 'Comfortaa', cursive;
	line-height:1.5;
    padding: 20px;
}

.titulo-bienvenida {
    font-size: 2.1em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitulo-bienvenida {
    /* Cambia 'Quicksand' por 'Montserrat' si prefieres la otra opción */
    font-family: 'Quicksand', sans-serif; 
    font-size: 1.4em;
    font-weight: 400; /* 400 es ideal para que no se vea borrosa */
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95); /* Blanco casi sólido para máxima nitidez */
    letter-spacing: 0.3px; /* Un pequeño respiro entre letras ayuda en móviles */
    text-shadow: none; /* Quitamos la sombra para que el borde de la letra sea más definido */
}

.boton-abrir {
    padding: 15px 40px;
    font-size: 1.2em;
    font-family: 'Comfortaa', cursive;
    background-color: white;
    color: #FF6D00;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.boton-abrir:hover {
    transform: scale(1.1);
}

/* Clase para ocultar la modal */
.hidden {
    opacity: 0;
    visibility: hidden;
}

.pie-modal {
    position: absolute;   /* Se posiciona respecto al modal-total */
    bottom: 20px;         /* Separación del borde inferior */
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontal perfecto */
    
    color: rgba(255, 255, 255, 0.7); /* Blanco con 50% de transparencia */
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: lowercase;
    pointer-events: none; /* Para que no interfiera si alguien intenta hacer clic cerca */
}



/* --- 1. FUENTES Y RESET DE PÁGINA --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');



.invitation-container-main {
    font-family: 'Montserrat', sans-serif !important;
    text-align: center;
    width: 100%;
    margin: 10px 0px 50px 0px;

}

/* --- 2. ESTILOS DE LA CUENTA REGRESIVA (COMPLETO) --- */
.countdown-title {
    color: #555;
    font-size: 1.9rem;
    margin: 25px 0 15px 0;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif !important;
}

/* --- Nombre del Agasajado --- */
.edad-agasajado {
    color: #FF6B6B;
    font-size: 3rem;
    margin: 5px 0 5px 0;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif !important;
}


.countdown-container-modern { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    padding: 20px; 
    background: white; 
    border-radius: 20px; 
    max-width: 95%; 
    margin: 0 auto; 
    border: 2px dashed #FF8C42; /* Borde naranja punteado */
    box-sizing: border-box;
}

.countdown-container-asistencia { 
    display:block; 
    justify-content: center; 
    gap: 10px; 
    padding: 5px; 
    background: white; 
    border-radius: 20px; 
    max-width: 95%; 
    margin: 0 auto; 
    border: 1px dashed #FF8C42; /* Borde naranja punteado */
    box-sizing: border-box;
}

.countdown-item { 
    background: #fff; 
    border: 3px solid #FFD93D; /* Borde amarillo */
    border-radius: 12px; 
    padding: 10px 2px; 
    flex: 1;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    box-shadow: 0 5px 0px #FFD93D; /* Sombra sólida amarilla */
    min-width: 60px;
}

.number { 
    font-size: 1.6rem; 
    font-weight: 900; 
    color: #FF6B6B; /* Rojo/Rosado para los números */
    line-height: 1;
    font-family: 'Montserrat', sans-serif !important;
}

.label { 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    color: #333; 
    font-weight: 700; 
    margin-top: 5px;
}

/* --- 3. MENSAJE FINAL Y GLOBOS --- */
.final-text { 
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900; 
    font-size: 2.2rem; 
    color: #FF6B6B; 
    margin: 20px 0; 
    text-shadow: 2px 2px 0px #fff;
    animation: pulse 0.8s infinite alternate; 
}

#balloon-container { 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none; z-index: 9999; overflow: hidden; 
}

.balloon { 
    position: absolute; 
    bottom: -100px; 
    width: 45px; 
    height: 60px; 
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    animation: floatUp 4s ease-in forwards; 
}

.balloon::after {
    content: "▲"; position: absolute; bottom: -8px; left: 16px; font-size: 10px; color: inherit;
}

/* --- 4. BOTONES (3 COLUMNAS / 2 RENGLONES) --- */
.botones-invitacion-grid { 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
    padding: 30px 10px; 
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.btn-app { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    padding: 12px 2px; 
    border-radius: 15px; 
    min-height: 90px; 
    background: #fffaf7; 
    color: #FF8C42 !important; 
    border: 2px solid #FF6B6B;
    box-shadow: 0 4px 10px rgba(255,140,66,0.1);
    text-align: center;
    font-family: 'Montserrat', sans-serif !important;
}

.btn-app span[class^="icon-"] { 
    font-size: 1.9rem; 
    margin-bottom: 8px; 
	color:#FF6B6B;
}

.btn-text { 
    font-weight: 700 !important; 
    font-size: 0.7rem !important; 
    text-transform: uppercase; 
    line-height: 1.2;
    display: block;
    color: #FF8C42;
}

/* --- 5. PIE DE PÁGINA 100% --- */
.footer-orange-full {
    background-color: #d35400;
    color: white;
    padding: 25px 0;
    margin-top: 30px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    overflow: hidden; /* Evita scroll lateral */
}

.footer-orange-full a { text-decoration: none; color: inherit; }

.TextoFooter2 {
    font-family: 'Montserrat', sans-serif !important;
    text-align: center;
    margin: 5px auto;
    width: 90%;           /* Limita el ancho del texto para que no toque los bordes */
    white-space: normal;  /* Obliga al salto de línea */
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .TextoFooter { font-size: 14px; }
}

/* --- 6. ANIMACIONES --- */
@keyframes floatUp { 0% { transform: translateY(0) rotate(0deg); opacity: 1; } 100% { transform: translateY(-120vh) rotate(20deg); opacity: 0; } }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.05); } }

/* --- 7. AJUSTES MÓVILES --- */
@media (max-width: 350px) {
    .btn-text { font-size: 0.58rem !important; }
    .number { font-size: 1.3rem; }
    .countdown-container-modern { gap: 5px; padding: 10px 5px; }
    .countdown-item { min-width: 55px; }
}


