/* Notice Ticker Banner Styles */

.notice-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    position: relative;
}

.notice-ticker-line {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    position: relative;
}

.notice-line-1 {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.notice-line-2 {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.ticker-content {
    display: inline-flex;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}

.notice-line-2 .ticker-content {
    animation: scroll-left 45s linear infinite;
}

.ticker-text {
    display: inline-block;
    padding: 0 80px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    white-space: nowrap;
}

.notice-line-1 .ticker-text {
    color: #10b981;
}

.notice-line-2 .ticker-text {
    color: #3b82f6;
}

.ticker-text i {
    margin-right: 8px;
    font-size: 16px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.notice-ticker-line:hover .ticker-content {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notice-ticker-line {
        padding: 10px 0;
    }
    
    .ticker-text {
        font-size: 12px;
        padding: 0 50px;
    }
    
    .ticker-text i {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .ticker-content {
        animation: scroll-left 35s linear infinite;
    }
    
    .notice-line-2 .ticker-content {
        animation: scroll-left 40s linear infinite;
    }
}

@media (max-width: 480px) {
    .ticker-text {
        font-size: 11px;
        padding: 0 40px;
    }
    
    .ticker-content {
        animation: scroll-left 30s linear infinite;
    }
    
    .notice-line-2 .ticker-content {
        animation: scroll-left 35s linear infinite;
    }
}
