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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #FFC0CB 0%, #FFB6C1 50%, #FF69B4 100%);
}

.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.screen.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.hearts-bg::before {
    content: '💕 💗 💖 💝 💘';
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float-bg 20s linear infinite;
    white-space: nowrap;
}

@keyframes float-bg {
    0% { transform: translateX(-100%) translateY(50vh); }
    100% { transform: translateX(100vw) translateY(30vh); }
}

/* Question Screen */
.content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.question {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 8vw, 4rem);
    color: #E91E63;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.warning-text {
    font-size: 0.9rem;
    color: #880E4F;
    margin-top: 2rem;
    opacity: 0.8;
    font-style: italic;
}

.buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100px;
    position: relative;
}

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

.btn-yes {
    background: linear-gradient(135deg, #E91E63, #FF1744);
    color: white;
    transform-origin: center center;
    z-index: 1;
}

.btn-yes:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.5);
}

.btn-no {
    background: linear-gradient(135deg, #9E9E9E, #757575);
    color: white;
    position: relative;
    transition: all 0.15s ease-out;
    z-index: 2;
}

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

/* Celebration Screen */
#celebration-screen {
    background: linear-gradient(135deg, #FF69B4 0%, #E91E63 50%, #FF1744 100%);
}

.celebration-content {
    text-align: center;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.celebration-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3rem, 12vw, 6rem);
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite;
}

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

.celebration-text {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gif-container {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.celebration-gif {
    max-width: 300px;
    width: 80vw;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.floating-heart {
    position: absolute;
    bottom: -50px;
    font-size: 2rem;
    animation: float-up 4s ease-out forwards;
    opacity: 0.8;
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-110vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .content {
        padding: 1rem;
    }

    .question {
        margin-bottom: 2rem;
    }

    .buttons-container {
        flex-direction: column;
        gap: 1.5rem;
        min-height: 150px;
    }

    .btn {
        font-size: 1.2rem;
        padding: 0.8rem 2.5rem;
    }

    .celebration-content {
        padding: 1rem;
    }

    .celebration-text {
        font-size: clamp(1rem, 4vw, 1.5rem);
        padding: 0 1rem;
    }
}

/* Prevent text selection on buttons */
.btn {
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
