/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.container {
    max-width: 800px;
    margin: 20px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e91e63;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.message {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.yes {
    background: #4caf50;
    color: white;
}

.no{
    background: #f44336;
    color: white;
}

.yes:hover {
    background: #45a049;
    transform: scale(1.1);
}





@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.response {
    font-size: 1.3rem;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.response.hidden {
    opacity: 0;
    transform: scale(0.8);
}

.response.show {
    opacity: 1;
    transform: scale(1);
}

footer {
    margin-top: 30px;
    font-size: 1rem;
    color: #777;
}

/* Floating hearts animation */
.hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 2rem;
    animation: float 6s infinite linear;
}

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.heart:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
}

.heart:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        top: 100vh;
        transform: rotate(0deg);
    }
    100% {
        top: -10vh;
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
    }

    header h1 {
        font-size: 2rem;
    }

    .message {
        font-size: 1.2rem;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    .message {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
