.toonz-ticker-container {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;

    /* Hide on initial load to prevent glitching with the premium transition */
    opacity: 0;
    visibility: hidden;
    animation: toonz-ticker-fade-in 0.5s ease 1.5s forwards;
}

@keyframes toonz-ticker-fade-in {
    from {
        opacity: 0;
        visibility: hidden;
    }

    to {
        opacity: 2;
        visibility: visible;
    }
}

.toonz-ticker-wrapper {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: toonz-ticker-scroll linear infinite;
}

.toonz-ticker-container:hover .toonz-ticker-wrapper {
    animation-play-state: paused;
}

.toonz-ticker-item-wrapper {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    /* Default spacing */
}

.toonz-ticker-item {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.toonz-ticker-item:hover {
    color: #E87722;
    /* Accent color */
}

.toonz-ticker-divider {
    margin-left: 20px;
    font-weight: bold;
    color: #E87722;
    /* Requested color */
    pointer-events: none;
}

@keyframes toonz-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Ensure the animation speed is consistent regardless of width */
/* This is a basic implementation, JS can make it more robust */