body{
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #dff5e1;
    font-family: Arial, sans-serif;
}

.flower{
    position: relative;
    width: 300px;
    height: 300px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flower-center{
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle at 35% 30%,
        #ffe990 0%,
        #ffcc33 60%,
        #e89b20 100%
    );
    border-radius: 50%;
    position: relative;
    box-shadow:
        inset -5px -5px 10px rgba(150, 90, 0, 0.2),
        0 5px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.petal {
    position: absolute;

    width: 60px;
    height: 120px;

    left: 50%;
    top: 50%;

    margin-left: -30px;
    margin-top: -120px;

    background: linear-gradient(
        100deg,
        #e8d5e7 0%,
        #fffaff 35%,
        #ffffff 65%,
        #e9d6e8 100%
    );
    box-shadow:
        inset -4px 0 8px rgba(180, 140, 180, 0.15),
        2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(200, 170, 200, 0.4);

    transform-origin: center bottom;

    cursor: pointer;
    z-index: 1;
}

#answer {
    margin-top: 20px;
    padding: 15px 25px;

    font-size: 24px;
    font-weight: bold;
    text-align: center;

    color: #654321;
    background: rgba(255, 255, 255, 0.7);

    border-radius: 20px;
}

#restart {
    padding: 12px 24px;
    margin: 15px;

    border: none;
    border-radius: 25px;

    background: #ffcc33;
    color: #654321;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: transform 0.2s;
}

#restart:hover {
    transform: scale(1.05);
}

#restart:active {
    transform: scale(0.95);
}
.final-answer {
    animation: revealAnswer 600ms ease-out;
}

@keyframes revealAnswer {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    60% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}