/* News Ticker Styles */
.news-ticker-container {
    background: linear-gradient(135deg, #7B1E22 0%, #8B2635 50%, #7B1E22 100%) !important;
    border-bottom: 3px solid rgba(255, 215, 0, 0.6) !important;
    box-shadow: 0 4px 20px rgba(123, 30, 34, 0.3) !important;
    transition: all 0.3s ease;
}

.news-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #7B1E22;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.2);
}

.news-content {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block !important;
    animation: scroll 40s linear infinite !important;
    color: white !important;
    font-weight: 500 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
    padding: 5px 0 !important;
}

/* Animation Keyframes */
@keyframes scroll {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    100% {
        transform: translate3d(-150%, 0, 0); /* Increase this value to ensure text fully scrolls off screen */
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
}

/* Gold Text Accent */
.text-gold {
    color: #FFD700 !important;
}

/* Button Styling */
.ticker-btn {
    background: transparent;
    color: #FFD700 !important;
    border: none;
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.ticker-btn:hover {
    color: #FFA500;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scrolling-text {
        animation: scroll 20s linear infinite;
        font-size: 0.9rem;
    }
    
    .news-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .scrolling-text {
        animation: scroll 15s linear infinite;
        font-size: 0.85rem;
    }
    
    .news-badge {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}
