/* --- Configuración General --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* CAMBIO: Fondo crema y color de texto marrón oscuro */
    background-color: #FEFDE1; 
    font-family: 'Playfair Display', serif;
    color: #4E412B;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
    transition: opacity 0.8s ease-out;
}

/* --- Estilo del Contenido --- */
.content {
    z-index: 2;
    padding: 20px;
    animation: fadeInContent 2s ease-in-out;
}

/* --- Estilo para el texto superior --- */
.top-text {
    position: absolute;
    top: 5vh; /* Distancia desde la parte superior (5% de la altura de la pantalla) */
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif; /* Usamos Poppins para un estilo suave */
    font-size: 3vmin;
    color: #4E412B;
    z-index: 2; /* Nos aseguramos que esté por encima de los corazones */
    font-weight: 300; /* Un peso de letra ligero y elegante */
}

h1 {
    font-size: 7.5vmin;
    font-weight: 700;
    /* CAMBIO: Color de título dorado principal */
    color: #FBC02D; 
    /* CAMBIO: Sombra más oscura para que resalte en el fondo claro */
    text-shadow: 0 0 10px rgba(78, 65, 43, 0.2);
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5vmin;
    font-weight: 400; 
    /* CAMBIO: El color se hereda del body, no se necesita especificar */
    margin-top: 15px;
    margin-bottom: 30px;
}

.cta-button {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 13px 15px;
    font-size: 2.8vmin;
    /* CAMBIO: Color de texto del botón */
    color: #4E412B;
    /* CAMBIO: Color de fondo del botón */
    background-color: #FBC02D;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    /* CAMBIO: Sombra sutil y oscura para el fondo claro */
    box-shadow: 0 5px 15px rgba(78, 65, 43, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    /* CAMBIO: Color de fondo al pasar el mouse */
    background-color: #FFD54F;
}

/* --- Fondo de Corazones Flotantes (VERSIÓN EMOJI) --- */
.hearts-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* --- REEMPLAZA TU ANTIGUO ESTILO .heart CON ESTE --- */

.heart {
    position: absolute;
    bottom: -10vh;
    
    /* Definimos el tamaño del corazón */
    width: 15px;
    height: 15px;

    /* Usamos background-color en lugar de color */
    background-color: #FFD54F;
    
    /* Rotamos el cuadrado para que la punta quede hacia abajo */
    transform: rotate(-45deg);
    
    /* La animación se sigue aplicando desde JavaScript */
    animation: float-heart 15s linear infinite; 
}

/* "Dibujamos" los dos arcos superiores del corazón */
.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%; /* Los convertimos en círculos */
    background-color: #FFD54F; /* Heredan el mismo color */
}

/* Posicionamos el círculo izquierdo */
.heart::before {
    top: -7.5px;
    left: 0;
}

/* Posicionamos el círculo derecho */
.heart::after {
    top: 0;
    left: 7.5px;
}

/* Animación de corazones flotando (sin cambios) */
@keyframes float-heart {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-90vh);
        opacity: 0;
    }
}

/* Animación de entrada del contenido (sin cambios) */
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}