/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fff5f8;
    /* Fondo de seda rosa */
    background-image: radial-gradient(#ffccd5 0.8px, transparent 0.8px);
    background-size: 20px 20px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* Escena y Tarjeta de Cristal */
.escena {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.tarjeta-cristal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 182, 193, 0.5);
    width: 100%;
    max-width: 380px;
    border-radius: 60px 20px 60px 20px;
    padding: 70px 30px 40px;
    position: relative;
    box-shadow: 0 25px 50px rgba(255, 145, 164, 0.2);
    text-align: center;
    animation: flotar 4s ease-in-out infinite;
}

/* Hello Kitty Icon */
.kitty-superior {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(255, 182, 193, 0.3);
}

.svg-kitty {
    width: 100%;
    height: 100%;
}

/* Tipografías */
.subtitulo {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff8fa3;
    margin-bottom: 5px;
}

.titulo-principal {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #ff4d6d;
    margin-bottom: 15px;
}

.divisor-corazon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.linea {
    height: 1px;
    width: 40px;
    background: #ffccd5;
}

.corazon {
    color: #ffb3c1;
}

.mensaje-container .parrafo {
    color: #6a6a6a;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 300;
}

.parrafo-destacado {
    font-weight: 400;
    color: #ff4d6d;
    font-size: 1.1rem;
}

/* Firma */
.firma-box {
    margin-top: 30px;
}

.siempre {
    font-size: 0.8rem;
    color: #ff8fa3;
}

.tu-nombre {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #ff4d6d;
    margin-top: -5px;
}

/* Adornos y Animaciones */
.moño-esquina {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
}

.top-l { top: 20px; left: 20px; }
.bottom-r { bottom: 20px; right: 20px; }

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Brillos flotantes */
.sparkles span {
    position: absolute;
    bottom: -50px;
    font-size: 20px;
    animation: subirBrillos 8s linear infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes subirBrillos {
    0% { transform: translateY(0) rotate(0); opacity: 0; }
    30% { opacity: 0.6; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

/* Posiciones de los brillos */
.sparkles span:nth-child(1) { left: 5%; animation-delay: 0s; }
.sparkles span:nth-child(2) { left: 25%; animation-delay: 2s; }
.sparkles span:nth-child(3) { left: 50%; animation-delay: 4s; }
.sparkles span:nth-child(4) { left: 75%; animation-delay: 1s; }
.sparkles span:nth-child(5) { left: 90%; animation-delay: 3s; }