@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&display=swap');

body {
    font-family: 'Gaegu', cursive;
    background-color: #FFFBEB; /* amber-50 */
}

#app-container {
    max-width: 500px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

section {
    animation: fadeIn 0.5s ease-in-out;
}

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

.answer-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    color: #4b5563; /* gray-600 */
    background-color: #f3f4f6; /* gray-100 */
    border-radius: 1rem; /* rounded-2xl */
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.answer-btn:hover {
    background-color: #e5e7eb; /* gray-200 */
    border-color: #f59e0b; /* amber-500 */
    transform: scale(1.02);
}

#result-description li::before, #result-solution li::before {
    content: '✔️';
    margin-right: 0.5rem;
    color: #fbbf24; /* amber-400 */
}

#toast-message {
    animation: toast-in-out 3s ease-in-out forwards;
}

@keyframes toast-in-out {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}
