/**
 * NEWZEEFY Crypto Market Master CSS (crypto.css)
 * Premium Dark Mode, Glassmorphism Cards, Glow Badges & Responsiveness
 */

.crypto-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crypto-hero-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.crypto-hero-header {
    flex-wrap: nowrap !important;
}

@media (max-width: 767.98px) {
    .crypto-hero-header {
        flex-wrap: wrap !important;
    }
}

/* Crypto Card Hover Effects */
.crypto-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.crypto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Ticker Item Styling */
.crypto-ticker-bar {
    background: #090d16;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.crypto-ticker-track {
    display: inline-block;
    animation: cryptoTickerScroll 35s linear infinite;
}

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

/* Fear & Greed Meter Gauge */
.fear-greed-gauge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(
        #ef4444 0% 20%, 
        #f97316 20% 40%, 
        #eab308 40% 60%, 
        #84cc16 60% 80%, 
        #22c55e 80% 100%
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fear-greed-inner {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Heatmap Grid Cards */
.crypto-heatmap-item {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.crypto-heatmap-item:hover {
    transform: scale(1.03);
    z-index: 5;
}

/* Responsive Table Scroll */
.table-crypto-coins th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

@media (max-width: 768px) {
    .crypto-hero-card {
        padding: 1.5rem !important;
    }
    
    .crypto-hero-card h1 {
        font-size: 1.75rem !important;
    }
}
