.fw-container-c358ef8d {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: #f9f9f9;
}

.fw-word-c358ef8d {
    position: absolute;
    top: -150px; /* Start offscreen */
    padding: 15px 30px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform-origin: center center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    opacity: 0;
    will-change: transform, top, left;
    cursor: default;
    z-index: 1;
}

.fw-word-c358ef8d:hover {
    z-index: 10;
}

/* Base animation class added by JS */
.fw-word-c358ef8d.is-falling {
    animation: fwDrop_c358ef8d 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 1;
}

@keyframes fwDrop_c358ef8d {
    0% {
        top: -150px;
        transform: translateY(0) rotate(0deg) scale(1.1);
    }
    100% {
        /* JS sets the final top position via inline style, so animation just handles the drop */
        transform: translateY(0) scale(1);
    }
}