/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a9f 50%, #ff8e8e 100%);
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hidden {
    display: none !important;
}

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Quote */
.quote {
    font-style: italic;
    color: #e75480;
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Title */
.title {
    color: #d63384;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hint text */
.hint {
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Buttons Container */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Base Styles */
.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Yes Button */
.btn-yes {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.5);
}

/* No Button */
.btn-no {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    z-index: 100;
    /* Smooth animation when moving away */
    transition: left 0.3s ease-out, top 0.3s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-no:hover {
    transform: scale(1.05);
}

/* When button becomes fixed/evasive */
.btn-no.evasive {
    position: fixed;
}

/* Floating Hearts Background */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.heart:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 1.5rem; }
.heart:nth-child(2) { left: 20%; animation-delay: 1s; font-size: 2rem; }
.heart:nth-child(3) { left: 35%; animation-delay: 2s; font-size: 1.8rem; }
.heart:nth-child(4) { left: 50%; animation-delay: 0.5s; font-size: 2.2rem; }
.heart:nth-child(5) { left: 65%; animation-delay: 3s; font-size: 1.6rem; }
.heart:nth-child(6) { left: 75%; animation-delay: 1.5s; font-size: 2rem; }
.heart:nth-child(7) { left: 85%; animation-delay: 2.5s; font-size: 1.4rem; }
.heart:nth-child(8) { left: 95%; animation-delay: 0.8s; font-size: 1.9rem; }

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

/* Celebration Section */
.celebration-card {
    background: linear-gradient(135deg, #fff 0%, #ffe6f0 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(214, 51, 132, 0.3);
    }
    50% {
        box-shadow: 0 25px 80px rgba(214, 51, 132, 0.5);
    }
}

.celebration-title {
    color: #d63384;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.celebration-text {
    color: #e75480;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.gif-container {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.gif-container iframe {
    max-width: 100%;
    border-radius: 15px;
}

.celebration-footer {
    color: #d63384;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: bold;
}

/* Hearts Burst Animation */
.hearts-burst {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    font-size: 2rem;
}

.hearts-burst span {
    animation: heartBurst 1.5s ease-in-out infinite;
}

.hearts-burst span:nth-child(1) { animation-delay: 0s; }
.hearts-burst span:nth-child(2) { animation-delay: 0.2s; }
.hearts-burst span:nth-child(3) { animation-delay: 0.4s; }
.hearts-burst span:nth-child(4) { animation-delay: 0.6s; }
.hearts-burst span:nth-child(5) { animation-delay: 0.8s; }

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

/* Mobile Responsive */
@media (max-width: 600px) {
    .card {
        padding: 30px 25px;
        margin: 10px;
    }

    .quote {
        font-size: 1rem;
    }

    .title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .celebration-title {
        font-size: 1.5rem;
    }

    .celebration-text {
        font-size: 1.1rem;
    }

    .gif-container iframe {
        width: 100%;
        height: 200px;
    }

    .hearts-burst {
        font-size: 1.5rem;
        gap: 10px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .title {
        font-size: 1.3rem;
    }

    .quote {
        font-size: 0.9rem;
    }

    .celebration-title {
        font-size: 1.3rem;
    }
}
