/**
 * Neo Coins Scrolling Ticker Styles
 */

/* ============================================
   TICKER WRAPPER
   ============================================ */

.neo-ticker-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.neo-ticker-label {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
}

/* ============================================
   TICKER CONTAINER
   ============================================ */

.neo-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

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

/* ============================================
   TICKER CONTENT (SCROLLING)
   ============================================ */

.neo-ticker-content {
    display: flex;
    gap: 40px;
    animation: tickerScroll 60s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   TICKER ITEMS
   ============================================ */

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.ticker-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   TICKER ITEM ELEMENTS
   ============================================ */

.ticker-icon {
    font-size: 16px;
}

.ticker-name {
    font-weight: 600;
}

.ticker-symbol {
    opacity: 0.8;
    font-size: 12px;
}

.ticker-price {
    color: #10b981;
    font-weight: 700;
    padding: 2px 8px;
    background: white;
    border-radius: 12px;
    font-size: 12px;
}

.ticker-votes {
    opacity: 0.9;
    font-size: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .neo-ticker-wrapper {
        padding: 10px 0;
    }
    
    .neo-ticker-label {
        padding: 6px 12px;
        font-size: 11px;
        margin-right: 10px;
    }
    
    .ticker-item {
        padding: 5px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .ticker-icon {
        font-size: 14px;
    }
    
    .ticker-price {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .neo-ticker-content {
        gap: 20px;
        animation: tickerScroll 40s linear infinite;
    }
}

@media (max-width: 480px) {
    .ticker-symbol,
    .ticker-votes {
        display: none;
    }
    
    .ticker-item {
        padding: 4px 10px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .neo-ticker-content {
        animation: none;
    }
    
    .neo-ticker {
        overflow-x: auto;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .neo-ticker-wrapper {
        display: none;
    }
}