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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #ff6b9d, #ff8cc8, #ffb6d9);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.valentine-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.title {
    font-size: 3rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.love-message {
    margin-bottom: 3rem;
}

#message-text {
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255, 105, 180, 0.3);
    padding: 1.5rem 3rem;
    border-radius: 25px;
    border: 3px solid #ff69b4;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.4);
}

.button-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.valentine-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.yes-btn {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    color: white;
}

.yes-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.5);
}

.no-btn {
    background: linear-gradient(45deg, #dc143c, #ff6b6b);
    color: white;
    transition: all 0.3s ease;
}

.no-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
}

.result-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    font-size: 1.3rem;
    color: white;
    background: rgba(255, 20, 147, 0.8);
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.4);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.result-message.show {
    opacity: 1;
    transform: scale(1);
}

.hidden {
    display: none;
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 20px;
    animation: float 6s ease-in-out infinite;
    color: rgba(255, 105, 180, 0.7);
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.heart-rain {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    display: none;
}

.heart-rain.active {
    display: block;
}

.falling-heart {
    position: absolute;
    font-size: 30px;
    animation: fall 3s linear infinite;
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

@keyframes fall {
    to {
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    #message-text {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .button-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .valentine-btn {
        width: 200px;
    }
}