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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Background image with overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    z-index: -2;
}

/* Overlay for better text readability */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.6), rgba(255, 192, 203, 0.6));
    z-index: -1;
}

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

.content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 60px 80px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.question {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 80px;
}

.btn {
    padding: 15px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.yes-btn {
    background: linear-gradient(135deg, #ff6b9d, #c9356c);
    color: white;
}

.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.yes-btn:active {
    transform: scale(1.05);
}

.no-btn {
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    color: #666;
    position: relative;
    transition: all 0.1s ease;
}

.no-btn:hover {
    background: linear-gradient(135deg, #d0d0d0, #a0a0a0);
}

/* Celebration styles */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d, #c9356c);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.celebration-content {
    text-align: center;
    color: white;
}

.celebration h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.celebration p {
    font-size: 2rem;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
        margin: 20px;
    }

    .question {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 35px;
        font-size: 1.1rem;
    }

    .buttons {
        gap: 20px;
    }
}