* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #ffa8c5 100%);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Animated hearts background */
.hearts-background {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hearts-background::before,
.hearts-background::after {
    content: '💕';
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    animation: float 15s infinite;
}

.hearts-background::before {
    left: 10%;
    top: -10%;
    animation-delay: 0s;
}

.hearts-background::after {
    content: '💖';
    right: 15%;
    top: -10%;
    animation-delay: 7s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.question {
    font-size: clamp(3rem, 10vw, 6rem);
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

.sub-question {
    font-size: clamp(1.5rem, 6vw, 3rem);
    color: #ffffff;
    margin-bottom: 3rem;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out 0.2s backwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emoji {
    font-size: clamp(4rem, 15vw, 8rem);
    margin: 2rem 0 3rem 0;
    animation: pulse 2s infinite, slideDown 0.8s ease-out 0.4s backwards;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.buttons-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    animation: slideDown 0.8s ease-out 0.6s backwards;
}

.btn {
    padding: 1.2rem 3rem;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.yes-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    position: relative;
    z-index: 10;
}

.yes-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.5);
}

.yes-btn:active {
    transform: scale(1.05) translateY(-2px);
}

.no-btn {
    background: linear-gradient(135deg, #a8a8a8 0%, #7f7f7f 100%);
    color: white;
    position: relative;
    z-index: 5;
    transition: all 0.15s ease-out;
}

.no-btn:hover {
    background: linear-gradient(135deg, #c0c0c0 0%, #9f9f9f 100%);
}

/* Celebration screen */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #ff6b9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.celebration.hidden {
    opacity: 0;
    pointer-events: none;
}

.celebration-content {
    text-align: center;
    color: white;
    animation: celebrationPop 0.6s ease-out;
}

@keyframes celebrationPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.celebration-title {
    font-size: clamp(4rem, 15vw, 8rem);
    margin-bottom: 2rem;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.celebration-message {
    font-size: clamp(1.8rem, 7vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.celebration-submessage {
    font-size: clamp(1.3rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    font-style: italic;
    opacity: 0.95;
}

.floating-hearts {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.floating-hearts .heart {
    font-size: clamp(2.5rem, 10vw, 5rem);
    display: inline-block;
    animation: floatHeart 3s infinite ease-in-out;
}

.floating-hearts .heart:nth-child(1) {
    animation-delay: 0s;
}

.floating-hearts .heart:nth-child(2) {
    animation-delay: 0.2s;
}

.floating-hearts .heart:nth-child(3) {
    animation-delay: 0.4s;
}

.floating-hearts .heart:nth-child(4) {
    animation-delay: 0.6s;
}

.floating-hearts .heart:nth-child(5) {
    animation-delay: 0.8s;
}

.floating-hearts .heart:nth-child(6) {
    animation-delay: 1s;
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }

    .buttons-container {
        gap: 1.5rem;
    }

    .btn {
        padding: 1rem 2.5rem;
        min-width: 130px;
    }

    .question {
        margin-bottom: 0.5rem;
    }

    .sub-question {
        margin-bottom: 2rem;
    }

    .emoji {
        margin: 1.5rem 0 2rem 0;
    }
}

@media (max-height: 700px) {
    .question {
        margin-bottom: 0.5rem;
    }

    .sub-question {
        margin-bottom: 1.5rem;
    }

    .emoji {
        margin: 1rem 0 1.5rem 0;
    }

    .buttons-container {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.9rem 2rem;
        min-width: 110px;
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
}