body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ff4e8a, #ff9eb5);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    overflow: hidden;
    transition: background 1s ease-in-out;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 350px;
    position: relative;
    z-index: 2;
}

/* Inputs & Buttons */

input {
    padding: 12px;
    width: 80%;
    border-radius: 10px;
    border: none;
    margin-top: 15px;
    text-align: center;
    font-size: 18px;
}

button {
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 25px;
    border: none;
    background: white;
    color: #ff2e63;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: scale(1.1);
}

/* Error */

.error {
    margin-top: 15px;
    color: #ffe6ec;
}

/* Love Mode Activated */

.love-mode {
    background: radial-gradient(circle at center, #ff2e63, #8b0000);
}

/* Final Message Glow */

#loveMessage #loveYou {
    font-size: 34px;
    margin-top: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { 
        text-shadow: 0 0 10px #fff;
    }
    to { 
        text-shadow: 0 0 25px gold, 
                     0 0 40px #ff4e8a, 
                     0 0 60px #ff2e63;
    }
}

/* Particles */

.heart, .glitter {
    position: fixed;
    top: -20px;
    font-size: 22px;
    animation: fall linear forwards;
    pointer-events: none;
    z-index: 1;
}

.heart {
    filter: drop-shadow(0 0 6px #ff4e8a);
}

.glitter {
    color: gold;
    filter: drop-shadow(0 0 8px gold);
}

/* Falling animation */

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Utility */

.hidden {
    display: none;
}
