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

body {
    background: linear-gradient(135deg, #fff0f3 0%, #ffd6e0 50%, #ffb3c6 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    position: relative;
}

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

.floating-heart {
    position: absolute;
    bottom: -100px;
    animation: floatUp linear infinite;
    opacity: 0.6;
    font-size: 24px;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Sparkles */
.sparkle {
    position: fixed;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

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

/* Main Card */
.card {
    background: linear-gradient(180deg, #ffffff 0%, #fff5f7 100%);
    padding: 2.5rem 3rem 3rem;
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(255, 105, 180, 0.3),
        0 0 0 4px #ffb6c1,
        inset 0 -5px 20px rgba(255, 182, 193, 0.3);
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 420px;
    animation: cardFloat 3s ease-in-out infinite;
}

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

/* Cute Bear Character */
.bear-container {
    position: relative;
    margin-bottom: 1rem;
}

.bear {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    animation: bearBounce 1s ease-in-out infinite;
}

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

/* Bear Face */
.bear-face {
    width: 120px;
    height: 110px;
    background: linear-gradient(180deg, #d4a574 0%, #c9956c 100%);
    border-radius: 50% 50% 45% 45%;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.1);
}

/* Bear Ears */
.bear-ear {
    width: 45px;
    height: 45px;
    background: linear-gradient(180deg, #d4a574 0%, #c9956c 100%);
    border-radius: 50%;
    position: absolute;
    top: 5px;
}

.bear-ear.left { left: 15px; }
.bear-ear.right { right: 15px; }

.bear-ear-inner {
    width: 25px;
    height: 25px;
    background: #ffb6c1;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Bear Eyes */
.bear-eyes {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.bear-eye {
    width: 18px;
    height: 22px;
    background: #2d1f1a;
    border-radius: 50%;
    position: relative;
    animation: blink 3s ease-in-out infinite;
}

.bear-eye::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

@keyframes blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

/* Bear Blush */
.bear-blush {
    width: 22px;
    height: 12px;
    background: #ffb6c1;
    border-radius: 50%;
    position: absolute;
    top: 75px;
    opacity: 0.7;
}

.bear-blush.left { left: 30px; }
.bear-blush.right { right: 30px; }

/* Bear Nose */
.bear-nose {
    width: 18px;
    height: 14px;
    background: linear-gradient(180deg, #4a3728 0%, #3d2d22 100%);
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
    position: absolute;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
}

/* Bear Mouth */
.bear-mouth {
    position: absolute;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 12px;
    border: 3px solid #4a3728;
    border-top: none;
    border-radius: 0 0 50% 50%;
}

/* Heart Bear is holding */
.bear-heart {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 45px;
    animation: heartPulse 0.8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.4));
}

@keyframes heartPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.15); }
}

/* Question Text */
.question {
    font-family: 'Patrick Hand', cursive;
    color: #e75480;
    font-size: 2rem;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.2);
    line-height: 1.3;
}

/* Button Container */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    min-height: 60px;
    margin-top: 1.5rem;
}

/* Base Button Styles */
button {
    font-size: 1.2rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

/* Yes Button */
#yesBtn {
    padding: 14px 35px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(135deg, #ff6b95 0%, #ff4778 100%);
    color: white;
    box-shadow: 
        0 6px 20px rgba(255, 71, 120, 0.4),
        0 2px 0 #d63d66;
    position: relative;
    overflow: hidden;
}

#yesBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

#yesBtn:hover::before {
    left: 100%;
}

#yesBtn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(255, 71, 120, 0.5),
        0 3px 0 #d63d66;
}

#yesBtn:active {
    transform: scale(1.05) translateY(0);
}

/* No Button - Fixed size, no transitions */
#noBtn {
    background: linear-gradient(135deg, #ffd1dc 0%, #ffb6c6 100%);
    color: #e75480;
    box-shadow: 
        0 6px 15px rgba(255, 182, 198, 0.5),
        0 2px 0 #e8a4b4;
    width: 90px;
    height: 52px;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Sad Message Popup */
.sad-message {
    position: fixed;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    color: #e75480;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1000;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* Decoration clouds */
.cloud {
    position: fixed;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 10%;
    left: 10%;
    animation: cloudFloat 15s ease-in-out infinite;
}

.cloud-2 {
    width: 100px;
    height: 50px;
    top: 20%;
    right: 15%;
    animation: cloudFloat 18s ease-in-out infinite reverse;
}

.cloud-3 {
    width: 70px;
    height: 35px;
    bottom: 20%;
    left: 5%;
    animation: cloudFloat 20s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

/* Celebration Overlay */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 240, 243, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.celebration.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

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

.celebration-content {
    text-align: center;
    animation: celebrationPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes celebrationPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.celebration h1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 3rem;
    color: #e75480;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(255, 105, 180, 0.3);
}

.celebration-hearts {
    font-size: 4rem;
    animation: heartBurst 1s ease-in-out infinite;
}

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

.happy-bear {
    font-size: 120px;
    margin: 1rem 0;
    animation: happyDance 0.5s ease-in-out infinite alternate;
}

@keyframes happyDance {
    0% { transform: rotate(-5deg) translateY(0); }
    100% { transform: rotate(5deg) translateY(-10px); }
}

.celebration-message {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: #ff6b95;
    margin-top: 1rem;
}

/* Confetti */
.confetti {
    position: fixed;
    width: 15px;
    height: 15px;
    top: -20px;
    z-index: 2001;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Little decorative stars */
.star {
    position: fixed;
    font-size: 20px;
    animation: twinkle 1.5s ease-in-out infinite;
    z-index: 2;
    opacity: 0.7;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Cute bunny friend */
.bunny {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 60px;
    animation: bunnyPeek 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes bunnyPeek {
    0%, 80%, 100% { transform: translateY(100px); }
    85%, 95% { transform: translateY(0); }
}

/* Love letter decoration */
.love-letter {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 40px;
    animation: letterFloat 3s ease-in-out infinite;
    z-index: 5;
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}
