   * 
        /* main glass-card container */
        .trade-dashboard {
            max-width: 1600px;
            margin: 0 auto;
            background: rgba(12, 18, 28, 0.85);
            backdrop-filter: blur(2px);
            border-radius: 32px;
            border: 1px solid rgba(56, 189, 248, 0.2);
            box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.6);
            overflow-x: auto;
            transition: all 0.2s;
        }

        /* header area */
        .dashboard-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid rgba(71, 85, 105, 0.5);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            background: rgba(0, 0, 0, 0.25);
            border-radius: 32px 32px 0 0;
        }

        .logo-area h2 {
            font-weight: 700;
            font-size: 1.7rem;
            background: linear-gradient(135deg, #C084FC, #38BDF8);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.3px;
            margin: 0;
        }

        .logo-area span {
            font-size: 0.75rem;
            color: #94a3b8;
            letter-spacing: 0.5px;
        }

        .live-badge {
            background: #0f212e;
            padding: 0.4rem 1rem;
            border-radius: 80px;
            font-size: 0.85rem;
            font-weight: 500;
            border-left: 3px solid #10b981;
            box-shadow: 0 0 6px rgba(16, 185, 129, 0.3);
        }

        .live-badge i {
            color: #10b981;
            margin-right: 8px;
            font-size: 0.7rem;
        }

        .update-ticker {
            font-family: monospace;
            background: #00000030;
            padding: 5px 12px;
            border-radius: 40px;
            font-size: 0.8rem;
        }

        /* table wrapper -> responsive scroll */
        .table-responsive-custom {
            overflow-x: auto;
            padding: 0 0 0.5rem 0;
            scrollbar-width: thin;
        }

        .market-table {
            width: 100%;
            min-width: 800px;
            border-collapse: separate;
            border-spacing: 0;
            font-size: 0.85rem;
        }

        .market-table th {
            background: #0f172ad9;
            color: #cbd5e6;
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 1rem 0.9rem;
            border-bottom: 1px solid #1e293b;
            position: sticky;
            top: 0;
            backdrop-filter: blur(4px);
        }

        .market-table td {
            padding: 0.85rem 0.9rem;
            border-bottom: 1px solid #1e2a3e;
            font-weight: 500;
            color: #e2e8f0;
            transition: background 0.1s ease;
        }

        /* row hover effect */
        .market-table tr:hover td {
            background: rgba(56, 189, 248, 0.08);
        }

        /* base currency column styling */
        .base-currency {
            font-weight: 700;
            background: rgba(15, 23, 42, 0.7);
            color: #a5f3fc;
            border-right: 1px solid #2d3a4e;
        }

        /* price movement simulation: small badge for live changes (js will update) */
        .price-cell {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            letter-spacing: 0.2px;
            transition: all 0.1s;
        }

        .positive-flash {
            background-color: #10b98130;
            text-shadow: 0 0 2px #10b981;
        }

        .negative-flash {
            background-color: #ef444430;
            text-shadow: 0 0 2px #ef4444;
        }

        .footer-status {
            padding: 0.9rem 1.5rem;
            border-top: 1px solid #1e2a3e;
            font-size: 0.75rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 0 0 32px 32px;
        }

        .badge-pulse {
            background: #1e293b;
            padding: 4px 12px;
            border-radius: 50px;
        }

        .blink-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            margin-right: 8px;
            animation: pulse-green 1.2s infinite;
        }

        @keyframes pulse-green {
            0% { opacity: 0.4; transform: scale(0.8);}
            100% { opacity: 1; transform: scale(1.2);}
        }

        /* custom scroll */
        ::-webkit-scrollbar {
            height: 5px;
            width: 5px;
        }
        ::-webkit-scrollbar-track {
            background: #0f172a;
        }
        ::-webkit-scrollbar-thumb {
            background: #334155;
            border-radius: 12px;
        }

        @media (max-width: 640px) {
            body {
                padding: 1rem 0.5rem;
            }
            .dashboard-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .market-table th, .market-table td {
                padding: 0.7rem 0.5rem;
                font-size: 0.75rem;
            }
        }




        /* Main container */
        .live-dashboard {
            max-width: 1600px;
            margin: 0 auto;
        }

        /* ========== ROLLING TICKER (MARQUEE STYLE, INFINITE SCROLL RIGHT TO LEFT) ========== */
        .ticker-container {
            background: #03050b;
            border-radius: 60px;
            margin-bottom: 2rem;
            border: 1px solid rgba(56, 189, 248, 0.3);
            box-shadow: 0 8px 20px rgba(0,0,0,0.5);
            overflow: hidden;
            position: relative;
            backdrop-filter: blur(4px);
        }

        .ticker-wrap {
            width: 100%;
            overflow: hidden;
            background: #0b0f1a;
            border-radius: 60px;
            padding: 0.7rem 0;
        }

        .ticker-moving {
            display: inline-block;
            white-space: nowrap;
            animation: scrollTicker 45s linear infinite;
            will-change: transform;
        }

        .ticker-moving:hover {
            animation-play-state: paused;
        }

        .ticker-item {
            display: inline-block;
            margin-right: 2.5rem;
            font-size: 1rem;
            font-weight: 500;
            font-family: 'Courier New', monospace;
            letter-spacing: 0.3px;
            padding: 0.2rem 0;
        }

        .ticker-symbol {
            font-weight: 800;
            color: #cbd5e6;
        }

        .ticker-price {
            font-weight: 700;
            margin-left: 8px;
            color: #f1f5f9;
        }

        .ticker-change-positive {
            color: #22c55e;
            background: #22c55e20;
            padding: 2px 8px;
            border-radius: 24px;
            margin-left: 8px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .ticker-change-negative {
            color: #ef4444;
            background: #ef444420;
            padding: 2px 8px;
            border-radius: 24px;
            margin-left: 8px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        @keyframes scrollTicker {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Duplicate content for seamless loop */
        .ticker-moving.double-width {
            animation: scrollTicker 45s linear infinite;
        }

        /* Header Glow */
        .header-glow {
            background: rgba(10, 18, 30, 0.7);
            backdrop-filter: blur(12px);
            border-radius: 28px;
            border: 1px solid rgba(56, 189, 248, 0.25);
            padding: 0.9rem 1.8rem;
            margin-bottom: 1.8rem;
        }

        .logo-badge h1 {
            font-size: 1.7rem;
            font-weight: 800;
            background: linear-gradient(120deg, #F0B90B, #38BDF8, #C084FC);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin: 0;
        }

        .live-status {
            background: #0b1a1f;
            padding: 0.4rem 1.2rem;
            border-radius: 60px;
            border-left: 3px solid #22c55e;
        }

        .blink-red {
            width: 8px;
            height: 8px;
            background-color: #22c55e;
            border-radius: 50%;
            display: inline-block;
            animation: pulseGreen 1s infinite;
            margin-right: 6px;
        }

        @keyframes pulseGreen {
            0% { opacity: 0.3; transform: scale(0.8);}
            100% { opacity: 1; transform: scale(1.2);}
        }

        /* Market Cards */
        .market-card {
            background: rgba(12, 18, 28, 0.8);
            backdrop-filter: blur(8px);
            border-radius: 28px;
            border: 1px solid rgba(71, 85, 105, 0.4);
            transition: all 0.2s;
            height: 100%;
        }

        .card-header-custom {
            background: rgba(0, 0, 0, 0.35);
            padding: 1rem 1.3rem;
            border-bottom: 1px solid rgba(56, 189, 248, 0.2);
            font-weight: 700;
        }

        /* Crypto items */
        .crypto-item {
            padding: 0.85rem 1.2rem;
            border-bottom: 1px solid rgba(71, 85, 105, 0.25);
            transition: 0.15s;
        }

        .crypto-item:hover {
            background: rgba(56, 189, 248, 0.08);
            transform: translateX(4px);
        }

        .price-main {
            font-weight: 700;
            font-family: monospace;
            font-size: 1rem;
        }

        .change-positive {
            color: #22c55e;
            background: #22c55e20;
            padding: 0.2rem 0.6rem;
            border-radius: 24px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .change-negative {
            color: #ef4444;
            background: #ef444420;
            padding: 0.2rem 0.6rem;
            border-radius: 24px;
            font-weight: 600;
            font-size: 0.75rem;
        }

        .index-tile {
            background: rgba(0, 0, 0, 0.35);
            border-radius: 20px;
            padding: 0.8rem 1rem;
            border: 1px solid rgba(71, 85, 105, 0.3);
        }

        .index-value {
            font-size: 1.3rem;
            font-weight: 800;
            font-family: monospace;
        }

        .forex-pair {
            background: rgba(0, 0, 0, 0.25);
            border-radius: 18px;
            padding: 0.6rem;
            text-align: center;
        }

        .pair-rate {
            font-weight: 800;
            font-family: monospace;
            font-size: 1rem;
        }

        .flash-update {
            animation: flashCell 0.18s ease-out;
        }

        @keyframes flashCell {
            0% { background-color: #38bdf860; transform: scale(1.01);}
            100% { background-color: transparent; transform: scale(1);}
        }

        .footer-note {
            margin-top: 2rem;
            text-align: center;
            font-size: 0.7rem;
            color: #6c7a91;
            border-top: 1px solid #1e2a3e;
            padding-top: 1.2rem;
        }

        @media (max-width: 768px) {
            body { padding: 0.8rem; }
            .ticker-item { font-size: 0.75rem; margin-right: 1rem; }
            .index-value { font-size: 1rem; }
        }





       
        








        




        