/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Thin scrollbar */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* Ticker Bar Container */
.ticker-bar {
    width: 100%;
    background: red;
    /* dark background */
    color: white;
    /* light text */
    overflow: hidden;
    font-weight: bold;
    white-space: nowrap;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 14px;
}

/* Inner wrapper to move text */
.ticker-inner {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 12s linear infinite;
}

/* Actual text */
.ticker-text {
    padding-left: 1.5rem;
    letter-spacing: 0.03em;
}

/* Animation: scroll text from right to left */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Small screens adjustments (optional) */
@media (max-width: 600px) {
    .ticker-bar {
        font-size: 13px;
        padding: 10px 0;
    }
}