/* Ticker Styles */
.news-ticker-container {
    position: relative;
    margin: 0 auto 3rem auto;
    width: 100%;
    max-width: 1200px;
    height: 40px;
    background: #000;
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ticker-label {
    background: var(--accent-primary);
    color: #fff;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 20;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
    display: flex;
    align-items: center;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker 90s linear infinite;
    line-height: 40px;
}

.ticker-move:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    color: #fff;
    font-weight: 500;
    vertical-align: middle;
}

.ticker-item::before {
    content: "•";
    color: var(--accent-primary);
    margin-right: 10px;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 768px) {
    .news-ticker-container {
        width: 100%;
        font-size: 0.75rem;
        height: 36px;
        border-radius: 12px;
    }

    .ticker-label {
        padding: 0 1rem;
        font-size: 0.75rem;
    }

    .ticker-item {
        padding: 0 1.5rem;
    }


    .ticker-move {
        line-height: 36px;
    }
}

/* Top Bar Variant */
.top-bar-ticker {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: 45px !important;
    background: #000000 !important;
    /* Solid black */
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 3px solid var(--accent-primary) !important;
    /* Stronger border */
    z-index: 3000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.top-bar-ticker .ticker-move {
    line-height: 45px !important;
}

.top-bar-ticker .ticker-label {
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0 2rem;
}

@media (max-width: 480px) {
    .top-bar-ticker {
        height: 40px !important;
    }

    .top-bar-ticker .ticker-label {
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }

    .top-bar-ticker .ticker-move {
        line-height: 40px !important;
    }
}

@media (max-width: 360px) {
    .top-bar-ticker {
        height: 36px !important;
    }

    .top-bar-ticker .ticker-label {
        padding: 0 0.5rem;
        font-size: 0.7rem;
    }

    .top-bar-ticker .ticker-move {
        line-height: 36px !important;
    }
}

@media (max-width: 320px) {
    .top-bar-ticker {
        height: 34px !important;
    }

    .top-bar-ticker .ticker-label {
        padding: 0 0.4rem;
        font-size: 0.65rem;
    }

    .top-bar-ticker .ticker-move {
        line-height: 34px !important;
    }
}