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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    overflow: hidden;
    position: relative;
}

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

.heart {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 105, 180, 0.3);
    transform: rotate(45deg);
    animation: float 15s infinite;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 105, 180, 0.3);
    border-radius: 50%;
}

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

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

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.heart:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.heart:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.heart:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 13s;
}

.heart:nth-child(5) {
    left: 85%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.heart:nth-child(6) {
    left: 20%;
    animation-delay: 5s;
    animation-duration: 11s;
}

@keyframes float {
    0% {
        bottom: -100px;
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110vh;
        opacity: 0;
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #ff1493;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.emoji {
    font-size: 5rem;
    margin: 20px 0;
    animation: pulse 2s infinite;
}

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

.question {
    font-size: 1.5rem;
    color: #333;
    margin: 30px 0;
    font-weight: 400;
    min-height: 40px;
}

.buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.btn-yes:active {
    transform: translateY(-1px);
}

.btn-no {
    background: linear-gradient(135deg, #a8a8a8 0%, #7d7d7d 100%);
    color: white;
    position: relative;
    transition: all 0.1s ease;
}

.btn-no:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c06c84 100%);
}

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

.celebration.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.celebration-content {
    text-align: center;
    color: white;
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.celebration-title {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.celebration-text {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.celebration-subtext {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.celebration-hearts {
    font-size: 3rem;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.celebration-hearts span {
    display: inline-block;
    animation: bounce 1s infinite;
}

.celebration-hearts span:nth-child(1) { animation-delay: 0s; }
.celebration-hearts span:nth-child(2) { animation-delay: 0.1s; }
.celebration-hearts span:nth-child(3) { animation-delay: 0.2s; }
.celebration-hearts span:nth-child(4) { animation-delay: 0.3s; }
.celebration-hearts span:nth-child(5) { animation-delay: 0.4s; }

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

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .card {
        padding: 40px 30px;
    }

    .title {
        font-size: 2.2rem;
    }

    .emoji {
        font-size: 4rem;
    }

    .question {
        font-size: 1.2rem;
    }

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

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

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

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