* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #a8e6ff, #d0f4ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container */
.container {
    text-align: center;
    padding: 20px;
    max-width: 420px;
    width: 100%;
}

/* Main image */
.stitch-img {
    width: 160px;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Question */
.question {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1b3a57;
}

/* Gallery */
.gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.gallery-img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
}

/* Animations images */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.animate {
    animation: wiggle 0.5s ease;
}

/* 🔥 Buttons container FIX */
.buttons-container {
    position: relative;
    width: 100%;
    height: 80px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Buttons base */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* YES */
#yesBtn {
    background: #4cafef;
    color: white;
}

/* NO */
#noBtn {
    background: #ff6b6b;
    color: white;
}

/* SUCCESS SCREEN */
#successScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #d0f4ff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#successScreen.show {
    opacity: 1;
    pointer-events: all;
}

.success-img {
    width: 200px;
    animation: pop 0.6s ease;
}

@keyframes pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-text {
    font-size: 20px;
    color: #1b3a57;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {

    .stitch-img {
        width: 130px;
    }

    .gallery-img {
        width: 60px;
        height: 60px;
    }

    .question {
        font-size: 16px;
    }

    button {
        font-size: 14px;
    }
}
