* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #232946;
    color: #b8c1ec;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-color: #232946;
    }
    50% {
        background-color: #49548a;
    }
    100% {
        background-color: #232946;
    }
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #fffffe;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(18, 22, 41, 0.7);
    animation: bounceIn 1.5s ease-in-out;
}

#question-text {
    font-size: 1.5rem;
    color: #b8c1ec;
    margin-bottom: 1rem;
}

.mood-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2rem;
    animation: slideIn 1s ease-out forwards;
}

.mood-btn {
    font-size: 1.5rem;
    padding: 15px 30px;
    min-width: 120px;
    background-color: #eebbc3;
    color: #232946;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.mood-btn:hover {
    background-color: #e16162;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(18, 22, 41, 0.3);
}

#advice-container {
    display: none;
    opacity: 0;
    font-size: 1.5rem;
    padding: 20px;
    background-color: #fffffe;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #232946;
    transition: opacity 1s ease-in-out;
    margin-top: 2rem;
}

.container.shifted {
    transform: translateY(-100px);
    transition: transform 1s ease-in-out;
}

#advice-container.revealed {
    display: flex;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

@keyframes slideIn {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    60% {
        transform: translateY(20px);
        opacity: 1;
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (min-width: 600px) and (orientation: landscape) {
    .mood-options {
        flex-wrap: nowrap;
    }
}

@media (max-width: 599px) {
    .mood-options {
        flex-direction: column;
        gap: 15px;
    }

    .mood-btn {
        width: 80%;
        margin: 0 auto;
    }
}