body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fceeff 0%, #fbc2eb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 90%;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #ff4d6d;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yes-btn {
    background-color: #ff4d6d;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
}

.yes-btn:hover {
    background-color: #d63353;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.6);
}

.no-btn {
    background-color: #f0f0f0;
    color: #333;
    position: relative;
    /* Crucial for moving it */
}

.no-btn:hover {
    background-color: #e0e0e0;
}

#celebration {
    margin-top: 30px;
    display: none;
    /* Initially hidden */
    animation: fadeIn 1s ease-in-out;
}

#celebration.visible {
    display: block;
}

#celebration h2 {
    color: #ff4d6d;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
}

#celebration .message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

/* Countdown Styles */
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.time-block {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.time-block span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4d6d;
}

.time-block span.label {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

/* Heart background animation */
.heart-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 77, 109, 0.2);
    transform: rotate(45deg);
    animation: float 10s infinite linear;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 77, 109, 0.2);
    border-radius: 50%;
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    top: 0;
    left: -10px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(45deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide content when celebration is shown */
.content.hidden {
    display: none;
}

/* Mobile responsiveness for title */
@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }

    .time-block {
        min-width: 50px;
        padding: 5px 10px;
    }

    .time-block span:first-child {
        font-size: 1.2rem;
    }
}