* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffafbd, #ffc3a0);
    min-height: 100vh;
    overflow-x: hidden;
    color: #5a3d5c;
    position: relative;
}

/* Background hearts */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.3);
    font-size: 20px;
    animation: float 8s infinite linear;
}

.flowers {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('https://img.icons8.com/color/96/000000/rose.png');
    background-repeat: repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.3);
    margin-top: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.heart-header {
    text-align: center;
    margin-bottom: 30px;
}

.heart-header i {
    font-size: 50px;
    color: #ff4081;
    margin: 0 15px;
}

.heartbeat {
    animation: heartbeat 1.5s infinite;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5em;
    text-align: center;
    color: #ff4081;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.love-letter {
    background: linear-gradient(135deg, #fff0f7, #fff);
    border: 3px solid #ffb6c1;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.4);
    position: relative;
}

.love-letter:before {
    content: "💌";
    position: absolute;
    top: -25px;
    left: -25px;
    font-size: 50px;
    transform: rotate(-20deg);
}

.letter-text {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #5a3d5c;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    text-align: right;
    color: #ff4081;
    margin-top: 30px;
}

.question-container {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #ffd6e0, #ffebf3);
    border-radius: 25px;
    margin: 40px 0;
    border: 5px dashed #ff4081;
}

.question {
    font-family: 'Dancing Script', cursive;
    font-size: 3em;
    color: #ff1493;
    margin-bottom: 15px;
}

.sub-question {
    font-size: 1.3em;
    color: #ff66b2;
    margin-bottom: 40px;
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 20px 40px;
    font-size: 1.3em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 250px;
}

.yes-btn {
    background: linear-gradient(135deg, #ff4081, #ff80ab);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.4);
}

.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 64, 129, 0.6);
    background: linear-gradient(135deg, #ff0066, #ff4081);
}

.no-btn {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: #666;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.no-btn:hover {
    transform: scale(0.95);
    background: linear-gradient(135deg, #d0d0d0, #e8e8e8);
}

.hidden {
    display: none;
}

.celebration {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #ffd1dc, #ffebf3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.celebration-heart {
    font-size: 50px;
    color: #ff4081;
    animation: bounce 2s infinite;
}

.celebration-text {
    color: #ff0066;
    font-size: 2.2em;
    text-align: center;
}

.promise {
    margin-top: 30px;
    font-size: 1.2em;
    line-height: 1.8;
}

.countdown {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 15px;
}

#countdownTimer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 2em;
    font-weight: bold;
    color: #ff4081;
}

.surprise-btn {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    margin-top: 20px;
    animation: pulse 2s infinite;
}

.gallery {
    margin: 40px 0;
    text-align: center;
}

.photos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.photo-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ffebf3, #fff);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffb6c1;
    transition: transform 0.3s ease;
}

.photo-placeholder:hover {
    transform: translateY(-10px);
}

.photo-icon {
    font-size: 60px;
    color: #ff4081;
    margin-bottom: 15px;
}

.love-meter {
    margin: 40px 0;
    text-align: center;
}

.meter-container {
    width: 100%;
    height: 40px;
    background: #ffe6ee;
    border-radius: 20px;
    margin: 20px 0;
    overflow: hidden;
    border: 3px solid #ffb6c1;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff80ab, #ff4081);
    width: 100%;
    animation: fillMeter 3s ease-out forwards;
}

.meter-text {
    font-size: 1.5em;
    color: #ff4081;
    font-weight: bold;
}

.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #ffb6c1;
    color: #ff66b2;
}

.heart-beat-footer {
    color: #ff4081;
    animation: heartbeat 1.5s infinite;
    margin: 0 5px;
}

.footer-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5em;
    margin-top: 10px;
}

.music-player {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#playMusic {
    background: rgba(255, 64, 129, 0.9);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#playMusic:hover {
    background: rgba(255, 0, 102, 0.9);
    transform: scale(1.05);
}

/* Animations */
@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fillMeter {
    from { width: 0%; }
    to { width: 100%; }
}

.chase-container {
    background: rgba(255, 182, 193, 0.2);
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.chase-hearts {
    margin-top: 20px;
    font-size: 30px;
    color: #ff4081;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }
    
    .title {
        font-size: 2.5em;
    }
    
    .question {
        font-size: 2.2em;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 200px;
    }
    
    .photos {
        flex-direction: column;
        align-items: center;
    }
}