:root {
    --bg-color: #ffeff3;
    --primary-color: #ff4d6d;
    --secondary-color: #ff758f;
    --white: #ffffff;
    --text-color: #590d22;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    background-image: url('assets/background.png');
    background-size: 150px;
    background-repeat: repeat;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.2);
    max-width: 90%;
    width: 450px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

#question-gif {
    max-width: 100%;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    min-height: 100px;
}

button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#yes-btn {
    background-color: var(--primary-color);
    color: var(--white);
    order: 1;
}

#yes-btn:hover {
    background-color: #ff0040;
    transform: scale(1.1);
}

#no-btn {
    background-color: #e9ecef;
    color: #495057;
    position: relative;
    z-index: 10;
    order: 2;
}

#no-btn:hover {
    background-color: #dee2e6;
}

.hidden {
    display: none !important;
}

#success-gif-container {
    animation: fadeIn 0.8s ease-out;
}

#success-gif-container img {
    max-width: 100%;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#success-gif-container h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For mobile accessibility */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.5rem;
    }
}
