@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;800&family=Fraunces:ital,wght@1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0611;
    color: #fff;
    overflow: hidden; /* Previene el scroll para que parezca una postal móvil */
}

.background-container {
    position: relative;
    width: 100vw;
    height: 100dvh; 
    background-image: url('../img/m&e.jpeg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    display: flex;
    justify-content: center;
    /* Alinea el bloque de texto en la parte inferior de la pantalla */
    align-items: flex-end; 
    /* Crea un margen respecto al borde inferior del celular */
    padding-bottom: 12vh; 
    text-align: center;
}

/* Estilos iniciales (La fecha) */
#mensaje-click {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #f3ecff;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    
    /* Propiedades interactivas */
    cursor: pointer;
    transition: opacity 0.4s ease;
    -webkit-tap-highlight-color: transparent; /* Evita el destello azul al hacer tap en Android/iOS */
    user-select: none; /* Evita que el usuario seleccione la fecha por accidente */
}

/* Estilos aplicados por JS para el nuevo texto */
#mensaje-click.texto-revelado {
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.6;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado que oscurece más la parte inferior donde suele ir el texto */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(10, 6, 17, 0.85)); 
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 500px;
    animation: fadeIn 2s ease-in-out;
}

.content h1 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 10vw, 4rem);
    margin-bottom: 1rem;
    /* El mismo degradado que usaste en los títulos de 'Nosotros' */
    background: linear-gradient(100deg, #b246f2 10%, #ff6b9d 55%, #ffc94d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}



@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}