/* ========================================
   CIRCUIT × FUNDIS // TRADE PULSE
   Nightclub-style Trading Terminal
   ======================================== */

/* CSS Variables - Neon Cyberpunk Theme */
:root {
    /* Core Colors */
    --bg-void: #000000;
    --bg-deep: #030308;
    --bg-dark: #0a0a12;
    --bg-surface: #12121f;
    --bg-elevated: #1a1a2e;
    --bg-panel: #0d0d18;
    
    /* Neon Colors */
    --neon-cyan: #00f5ff;
    --neon-magenta: #ff00ff;
    --neon-pink: #ff2d7a;
    --neon-purple: #b026ff;
    --neon-blue: #0066ff;
    --neon-green: #00ff88;
    --neon-yellow: #ffff00;
    --neon-orange: #ff6600;
    
    /* Sentiment Colors */
    --bull-green: #00ff88;
    --bull-green-dim: #00ff8833;
    --bear-red: #ff3366;
    --bear-red-dim: #ff336633;
    
    /* Text */
    --text-white: #ffffff;
    --text-bright: #e0e0ff;
    --text-dim: #8888aa;
    --text-muted: #555566;
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-ui: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Effects */
    --glow-cyan: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
    --glow-magenta: 0 0 20px var(--neon-magenta), 0 0 40px var(--neon-magenta);
    --glow-green: 0 0 20px var(--bull-green), 0 0 40px var(--bull-green);
    --glow-red: 0 0 20px var(--bear-red), 0 0 40px var(--bear-red);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-ui);
    background: var(--bg-void);
    color: var(--text-bright);
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Scanlines Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.4;
}

/* Vignette */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}

/* ========================================
   SENTIMENT GLOW OVERLAY (FPS Damage/Heal Effect)
   Very subtle, brief flash on sentiment change
   ======================================== */
.sentiment-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
}

/* Bearish (Red) - Very subtle quick flash */
.sentiment-glow-overlay.flash-bearish {
    animation: flashBearish 0.4s ease-out forwards;
}

@keyframes flashBearish {
    0% {
        opacity: 0;
        box-shadow: 
            inset 0 0 40px 8px rgba(255, 51, 102, 0.25),
            inset 0 0 80px 15px rgba(255, 51, 102, 0.12);
    }
    20% {
        opacity: 1;
        box-shadow: 
            inset 0 0 50px 10px rgba(255, 51, 102, 0.2),
            inset 0 0 100px 20px rgba(255, 51, 102, 0.1);
    }
    100% {
        opacity: 0;
        box-shadow: 
            inset 0 0 30px 5px rgba(255, 51, 102, 0.05),
            inset 0 0 60px 10px rgba(255, 51, 102, 0.02);
    }
}

/* Bullish (Green) - Very subtle quick flash */
.sentiment-glow-overlay.flash-bullish {
    animation: flashBullish 0.4s ease-out forwards;
}

@keyframes flashBullish {
    0% {
        opacity: 0;
        box-shadow: 
            inset 0 0 40px 8px rgba(0, 255, 136, 0.22),
            inset 0 0 80px 15px rgba(0, 255, 136, 0.1);
    }
    20% {
        opacity: 1;
        box-shadow: 
            inset 0 0 50px 10px rgba(0, 255, 136, 0.18),
            inset 0 0 100px 20px rgba(0, 255, 136, 0.08);
    }
    100% {
        opacity: 0;
        box-shadow: 
            inset 0 0 30px 5px rgba(0, 255, 136, 0.04),
            inset 0 0 60px 10px rgba(0, 255, 136, 0.02);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Phase System */
.phase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.phase.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* ========================================
   SETUP PHASE
   ======================================== */

#setupPhase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.setup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    width: 100%;
}

.logo-container {
    text-align: center;
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { text-shadow: var(--glow-cyan); }
    100% { text-shadow: 0 0 30px var(--neon-cyan), 0 0 60px var(--neon-cyan), 0 0 90px var(--neon-cyan); }
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.5em;
    color: var(--text-dim);
    margin-top: 10px;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: var(--neon-magenta);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: var(--neon-green);
    z-index: -2;
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

/* Setup Grid */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 768px) {
    .setup-grid {
        grid-template-columns: 1fr;
    }
}

.setup-card {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 245, 255, 0.1);
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
}

.card-icon {
    font-size: 14px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Wallet Selector */
.wallet-selector {
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-dark);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.wallet-option:hover,
.wallet-option.selected {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.wallet-option.selected {
    background: rgba(0, 245, 255, 0.1);
}

.wallet-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 50%;
    font-size: 18px;
}

.wallet-info {
    flex: 1;
}

.wallet-name {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-white);
}

.wallet-address {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.wallet-balance {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon-green);
}

/* MetaMask Connect Button */
.wallet-connect-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    width: 100%;
    background: var(--bg-dark);
    border: 2px dashed var(--neon-cyan);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: inherit;
    flex: 1;
}

.wallet-connect-btn:hover {
    border-style: solid;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    background: rgba(0, 245, 255, 0.05);
}

.wallet-connect-btn:active {
    transform: scale(0.98);
}

.wallet-connect-btn .wallet-icon.metamask {
    font-size: 24px;
    background: linear-gradient(135deg, #f6851b, #e4761b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wallet-connect-btn .wallet-address {
    color: var(--neon-cyan);
    font-style: italic;
}

/* Connected wallet state */
.wallet-option.connected {
    border: 2px solid var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.wallet-option.connected .wallet-icon.connected {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: var(--bg-void);
}

/* Wallet connecting/loading state */
.wallet-connect-btn.connecting {
    pointer-events: none;
    border-color: var(--neon-yellow);
    animation: connectingPulse 1s ease-in-out infinite;
}

.wallet-connect-btn.connecting .wallet-address {
    color: var(--neon-yellow);
}

@keyframes connectingPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 0, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 255, 0, 0.4); }
}

/* Error state */
.wallet-connect-btn.error {
    border-color: var(--bear-red);
}

.wallet-connect-btn.error .wallet-address {
    color: var(--bear-red);
}

/* Wallet Balance Section with Deposit/Withdraw Buttons */
.wallet-balance-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.wallet-balance-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.refresh-balance-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-balance-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.refresh-balance-btn.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Action buttons row (Deposit + Withdraw) */
.wallet-action-buttons {
    display: flex;
    gap: 6px;
}

.deposit-btn, .withdraw-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bg-void);
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-btn {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
}

.deposit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.deposit-btn .deposit-icon {
    font-size: 12px;
    font-weight: bold;
}

.withdraw-btn {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
}

.withdraw-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
}

.withdraw-btn .withdraw-icon {
    font-size: 12px;
    font-weight: bold;
}

/* Disconnect Button */
.disconnect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid var(--bear-red);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bear-red);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.disconnect-btn:hover {
    opacity: 1;
    background: rgba(255, 51, 102, 0.15);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

/* ========================================
   DEPOSIT MODAL
   ======================================== */

.deposit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.deposit-modal-overlay.hidden {
    display: none;
}

.deposit-modal {
    width: 90%;
    max-width: 450px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 50px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(0, 245, 255, 0.05);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.deposit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(0, 245, 255, 0.1);
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

.deposit-modal-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
}

.deposit-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.deposit-modal-close:hover {
    color: var(--neon-cyan);
}

.deposit-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deposit-network-info {
    text-align: center;
}

.network-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--neon-purple);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--neon-purple);
    margin-bottom: 10px;
}

.network-badge-large .network-icon {
    color: var(--neon-cyan);
}

.deposit-description {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
}

.deposit-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-dark);
    border-radius: 6px;
}

.deposit-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.deposit-arb-balance {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-green);
}

.deposit-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deposit-input-wrapper {
    display: flex;
    gap: 8px;
}

.deposit-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 2px solid var(--bg-elevated);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    outline: none;
    transition: border-color 0.3s;
}

.deposit-input:focus {
    border-color: var(--neon-cyan);
}

.deposit-input::placeholder {
    color: var(--text-muted);
}

.deposit-max-btn {
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--text-muted);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
}

.deposit-max-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* Deposit Steps */
.deposit-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deposit-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.deposit-step.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.05);
}

.deposit-step.completed {
    border-color: var(--neon-green);
}

.deposit-step.error {
    border-color: var(--bear-red);
}

.step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
}

.deposit-step.active .step-number {
    background: var(--neon-cyan);
    color: var(--bg-void);
}

.deposit-step.completed .step-number {
    background: var(--neon-green);
    color: var(--bg-void);
}

.deposit-step.completed .step-number::after {
    content: '✓';
}

.deposit-step.completed .step-number {
    font-size: 0;
}

.deposit-step.completed .step-number::after {
    font-size: 12px;
}

.step-text {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.deposit-step.active .step-text,
.deposit-step.completed .step-text {
    color: var(--text-bright);
}

.step-status {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.deposit-step.active .step-status {
    color: var(--neon-yellow);
    animation: blink 1s infinite;
}

.deposit-step.completed .step-status {
    color: var(--neon-green);
}

.deposit-step.error .step-status {
    color: var(--bear-red);
}

/* Deposit Action Button */
.deposit-actions {
    margin-top: 10px;
}

.deposit-action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bg-void);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.deposit-action-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.deposit-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.deposit-action-btn.loading {
    background: var(--bg-elevated);
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.deposit-action-btn.success {
    background: var(--neon-green);
}

/* Deposit Status */
.deposit-status {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    min-height: 20px;
}

.deposit-status.error {
    color: var(--bear-red);
}

.deposit-status.success {
    color: var(--neon-green);
}

.deposit-status a {
    color: var(--neon-cyan);
    text-decoration: none;
}

.deposit-status a:hover {
    text-decoration: underline;
}

/* ========================================
   WITHDRAW MODAL
   ======================================== */

.withdraw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.withdraw-modal-overlay.hidden {
    display: none;
}

.withdraw-modal {
    width: 90%;
    max-width: 450px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--neon-orange);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 50px rgba(255, 102, 0, 0.3),
        inset 0 0 30px rgba(255, 102, 0, 0.05);
    animation: modalAppear 0.3s ease;
}

.withdraw-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 102, 0, 0.1);
    border-bottom: 1px solid rgba(255, 102, 0, 0.3);
}

.withdraw-modal-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--neon-orange);
}

.withdraw-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.withdraw-modal-close:hover {
    color: var(--neon-orange);
}

.withdraw-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.withdraw-network-info {
    text-align: center;
}

.network-badge-large.withdraw {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

.withdraw-description {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
}

.withdraw-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-dark);
    border-radius: 6px;
}

.withdraw-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.withdraw-hl-balance {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-orange);
}

.withdraw-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.withdraw-input-wrapper {
    display: flex;
    gap: 8px;
}

.withdraw-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 2px solid var(--bg-elevated);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    outline: none;
    transition: border-color 0.3s;
}

.withdraw-input:focus {
    border-color: var(--neon-orange);
}

.withdraw-input::placeholder {
    color: var(--text-muted);
}

.withdraw-max-btn {
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--text-muted);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
}

.withdraw-max-btn:hover {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

/* Withdraw Steps */
.withdraw-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.withdraw-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.withdraw-step.active {
    border-color: var(--neon-orange);
    background: rgba(255, 102, 0, 0.05);
}

.withdraw-step.completed {
    border-color: var(--neon-green);
}

.withdraw-step.error {
    border-color: var(--bear-red);
}

.withdraw-step .step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
}

.withdraw-step.active .step-number {
    background: var(--neon-orange);
    color: var(--bg-void);
}

.withdraw-step.completed .step-number {
    background: var(--neon-green);
    color: var(--bg-void);
}

.withdraw-step.completed .step-number::after {
    content: '✓';
}

.withdraw-step.completed .step-number {
    font-size: 0;
}

.withdraw-step.completed .step-number::after {
    font-size: 12px;
}

.withdraw-step .step-text {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

.withdraw-step.active .step-text,
.withdraw-step.completed .step-text {
    color: var(--text-bright);
}

.withdraw-step .step-status {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.withdraw-step.active .step-status {
    color: var(--neon-yellow);
    animation: blink 1s infinite;
}

.withdraw-step.completed .step-status {
    color: var(--neon-green);
}

.withdraw-step.error .step-status {
    color: var(--bear-red);
}

/* Withdraw Action Button */
.withdraw-actions {
    margin-top: 10px;
}

.withdraw-action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--neon-orange) 0%, var(--neon-pink) 100%);
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bg-void);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.withdraw-action-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
}

.withdraw-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.withdraw-action-btn.loading {
    background: var(--bg-elevated);
    color: var(--neon-orange);
    border: 2px solid var(--neon-orange);
}

.withdraw-action-btn.success {
    background: var(--neon-green);
}

/* Withdraw Status */
.withdraw-status {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    min-height: 20px;
}

.withdraw-status.error {
    color: var(--bear-red);
}

.withdraw-status.success {
    color: var(--neon-green);
}

/* Pair Selector */
.pair-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
    flex: 1;
}

.pair-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-dark);
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: inherit;
    width: 100%;
}

.pair-option:hover,
.pair-option.selected {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.pair-option.selected {
    background: rgba(255, 0, 255, 0.1);
}

.pair-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: var(--font-display);
    border-radius: 50%;
    border: 2px solid;
}

.pair-icon.eth {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    background: rgba(176, 38, 255, 0.2);
}

.pair-icon.btc {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    background: rgba(255, 102, 0, 0.2);
}

.pair-name {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
}

.pair-network {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

/* Launch Button */
.launch-btn {
    position: relative;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
    border: none;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bg-void);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.launch-btn:hover:not(.disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.8);
}

.launch-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(50%);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent);
    animation: rotateGlow 3s linear infinite;
    opacity: 0.3;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   TERMINAL PHASE - Main Trading Screen
   ======================================== */

#terminalPhase {
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Terminal Header */
.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pair-badge {
    display: flex;
    align-items: baseline;
    gap: 4px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pair-badge:hover {
    background: rgba(0, 245, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.pair-badge:active {
    transform: scale(0.98);
}

.pair-symbol {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.pair-full {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-dim);
}

.live-price-badge {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
}

.price-change {
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 4px;
}

.price-change.positive {
    color: var(--bull-green);
    background: var(--bull-green-dim);
}

.price-change.negative {
    color: var(--bear-red);
    background: var(--bear-red-dim);
}

.header-center {
    display: flex;
    align-items: center;
}

.status-bar {
    display: flex;
    gap: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.pulse {
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    animation: dotPulse 1s ease-in-out infinite;
}

.status-dot.active {
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.header-right {
    display: flex;
    align-items: center;
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--bg-elevated);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-dim);
}

.net-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 6px var(--neon-blue);
}

/* Terminal Grid */
.terminal-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    min-height: 0;
    max-height: calc(100vh - 60px);
    overflow: hidden;
}

/* ========================================
   MEGA UNIFIED CHART
   ======================================== */

.mega-chart-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.1), inset 0 0 50px rgba(0, 245, 255, 0.02);
}

/* Mega Chart Header */
.mega-chart-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 15px;
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.1) 0%, transparent 50%, rgba(255, 0, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
}

/* Technical Indicators Bar */
.tech-indicators-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tech-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
}

.tech-value {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.tech-value.ma7 {
    color: var(--neon-purple);
    text-shadow: 0 0 8px var(--neon-purple);
}

.tech-value.ma25 {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan);
}

.tech-value.rsi {
    font-size: 14px;
    font-weight: 700;
}

.tech-signal {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--bg-elevated);
}

.tech-signal.bullish, .tech-signal[class*="bull"] {
    background: var(--bull-green-dim);
    color: var(--bull-green);
}

.tech-signal.bearish, .tech-signal[class*="bear"] {
    background: var(--bear-red-dim);
    color: var(--bear-red);
}

.tech-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.trend-arrow {
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Mega Chart Container */
.mega-chart-container {
    flex: 1;
    position: relative;
    min-height: 0;
}

#priceChart {
    width: 100%;
    height: 100%;
}

/* Floating Sentiment Panel */
.floating-sentiment {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.sentiment-mega-orb {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-orb-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    animation: orbRotate 3s linear infinite;
}

@keyframes orbRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mega-orb-core {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--text-dim) 0%, var(--bg-dark) 100%);
    transition: all 0.5s ease;
}

.sentiment-mega-orb.bullish .mega-orb-ring {
    border-color: var(--bull-green);
    box-shadow: 0 0 15px var(--bull-green);
}

.sentiment-mega-orb.bullish .mega-orb-core {
    background: radial-gradient(circle, var(--bull-green) 0%, rgba(0, 255, 136, 0.3) 100%);
    box-shadow: 0 0 20px var(--bull-green);
}

.sentiment-mega-orb.bearish .mega-orb-ring {
    border-color: var(--bear-red);
    box-shadow: 0 0 15px var(--bear-red);
}

.sentiment-mega-orb.bearish .mega-orb-core {
    background: radial-gradient(circle, var(--bear-red) 0%, rgba(255, 51, 102, 0.3) 100%);
    box-shadow: 0 0 20px var(--bear-red);
}

.mega-orb-label {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: var(--text-dim);
}

.sentiment-mega-orb.bullish .mega-orb-label {
    color: var(--bull-green);
    text-shadow: 0 0 10px var(--bull-green);
}

.sentiment-mega-orb.bearish .mega-orb-label {
    color: var(--bear-red);
    text-shadow: 0 0 10px var(--bear-red);
}

.sentiment-counts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sent-count-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
}

.sent-count-item .count-icon {
    font-size: 10px;
}

.sent-count-item.bullish .count-icon,
.sent-count-item.bullish .count-num {
    color: var(--bull-green);
}

.sent-count-item.bearish .count-icon,
.sent-count-item.bearish .count-num {
    color: var(--bear-red);
}

.count-num {
    font-size: 16px;
    font-weight: 700;
    min-width: 20px;
}

/* Floating Narratives - Hidden since we draw on chart */
.floating-narratives {
    display: none;
}

/* Hide sentiment orb and 24H stats - cleaner chart */
.floating-sentiment {
    display: none !important;
}

.chart-overlay-stats {
    display: none !important;
}

/* RSI Gauge at Bottom of Chart */
.rsi-gauge-overlay {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    z-index: 10;
}

.rsi-gauge-bar {
    position: relative;
    height: 8px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-dark);
}

.rsi-gauge-bar .rsi-zone {
    flex: 1;
}

.rsi-gauge-bar .rsi-zone.oversold {
    background: linear-gradient(90deg, var(--bear-red), rgba(255, 51, 102, 0.3));
}

.rsi-gauge-bar .rsi-zone.neutral {
    background: var(--bg-elevated);
}

.rsi-gauge-bar .rsi-zone.overbought {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.3), var(--bull-green));
}

.rsi-gauge-bar .rsi-marker {
    position: absolute;
    top: -3px;
    width: 4px;
    height: 14px;
    background: var(--text-white);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: left 0.3s ease;
    left: 50%;
}

.rsi-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-muted);
}

/* Chart Overlay Stats - repositioned */
.mega-chart-container .chart-overlay-stats {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

/* Section Title Bar */
.section-title-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 245, 255, 0.05);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.title-icon {
    color: var(--neon-cyan);
    font-size: 12px;
}

.section-title-bar span {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
}

/* Chart Section */
.chart-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    min-height: 0;
}

.chart-timeframes {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.tf-btn {
    padding: 3px 8px;
    background: transparent;
    border: 1px solid var(--text-muted);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tf-btn:hover,
.tf-btn.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.chart-container {
    flex: 1;
    position: relative;
    min-height: 0;
}

#priceChart {
    width: 100%;
    height: 100%;
}

.chart-overlay-stats {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.overlay-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

.overlay-stat .stat-label {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-muted);
}

.overlay-stat .stat-value {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--text-bright);
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.8);
}

.chart-loading.hidden {
    display: none;
}

/* DJ Sound Wave Loader */
.sound-wave-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 50px;
}

.wave-bar {
    width: 4px;
    background: linear-gradient(180deg, var(--neon-cyan) 0%, var(--neon-green) 50%, var(--neon-cyan) 100%);
    border-radius: 2px;
    animation: waveBounce 0.6s ease-in-out infinite;
    box-shadow: 0 0 8px var(--neon-cyan), 0 0 16px rgba(0, 245, 255, 0.4);
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 15px; }
.wave-bar:nth-child(2) { animation-delay: 0.08s; height: 25px; }
.wave-bar:nth-child(3) { animation-delay: 0.16s; height: 35px; }
.wave-bar:nth-child(4) { animation-delay: 0.24s; height: 45px; }
.wave-bar:nth-child(5) { animation-delay: 0.32s; height: 50px; }
.wave-bar:nth-child(6) { animation-delay: 0.24s; height: 45px; }
.wave-bar:nth-child(7) { animation-delay: 0.16s; height: 35px; }
.wave-bar:nth-child(8) { animation-delay: 0.08s; height: 25px; }
.wave-bar:nth-child(9) { animation-delay: 0s; height: 15px; }

@keyframes waveBounce {
    0%, 100% {
        transform: scaleY(0.3);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
        box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px rgba(0, 245, 255, 0.6);
    }
}

#chartLoadingText {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
}

/* Indicators Section */
.indicators-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    min-height: 0;
}

.indicators-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
}

.indicator-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    flex: 1;
}

.indicator-mini {
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    border: 1px solid var(--bg-elevated);
    border-radius: 4px;
    padding: 6px;
    transition: all 0.3s ease;
    min-height: 0;
}

.rsi-mini, .trend-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.rsi-mini .v-num {
    font-size: 18px;
}

.trend-mini .trend-arrow {
    font-size: 22px;
}

.indicator-mini.calculating {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.1);
}

.indicator-mini.complete {
    border-color: var(--neon-green);
}

.ind-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ind-name {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--text-bright);
}

.ind-status {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--neon-yellow);
    animation: blink 0.5s infinite;
}

.ind-status.done {
    color: var(--neon-green);
    animation: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

#maCanvas, #volumeCanvas {
    width: 100%;
    height: 35px;
    margin-bottom: 4px;
}

.ind-values {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ind-val {
    display: flex;
    flex-direction: column;
}

.v-label {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-muted);
}

.v-num {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--text-white);
}

.ind-signal {
    margin-left: auto;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.ind-signal.bullish {
    color: var(--bull-green);
    background: var(--bull-green-dim);
}

.ind-signal.bearish {
    color: var(--bear-red);
    background: var(--bear-red-dim);
}

/* RSI Gauge */
.rsi-gauge {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 4px;
}

.rsi-bar {
    position: relative;
    height: 14px;
    display: flex;
    border-radius: 7px;
    overflow: hidden;
}

.rsi-zone {
    flex: 1;
}

.rsi-zone.oversold {
    background: linear-gradient(90deg, var(--bear-red), var(--bear-red-dim));
}

.rsi-zone.neutral {
    background: var(--bg-elevated);
}

.rsi-zone.overbought {
    background: linear-gradient(90deg, var(--bull-green-dim), var(--bull-green));
}

.rsi-marker {
    position: absolute;
    top: -2px;
    width: 3px;
    height: 18px;
    background: var(--neon-cyan);
    border-radius: 2px;
    box-shadow: var(--glow-cyan);
    transition: left 0.5s ease;
    left: 50%;
}

.rsi-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-family: var(--font-mono);
    font-size: 7px;
    color: var(--text-muted);
}

/* Trend Visual */
.trend-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trend-arrow {
    font-size: 28px;
    color: var(--text-dim);
    transition: all 0.5s ease;
}

.trend-arrow.bullish {
    color: var(--bull-green);
    text-shadow: var(--glow-green);
}

.trend-arrow.bearish {
    color: var(--bear-red);
    text-shadow: var(--glow-red);
    transform: rotate(90deg);
}

.trend-strength {
    display: flex;
    gap: 3px;
}

.strength-bar {
    width: 4px;
    height: 16px;
    background: var(--bg-elevated);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bar.active {
    background: var(--neon-cyan);
    box-shadow: 0 0 5px var(--neon-cyan);
}

/* Sentiment Section */
.sentiment-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    min-height: 0;
}

.feed-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--neon-green);
}

.feed-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--neon-green);
}

.sentiment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

.sentiment-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    flex: 1;
}

.narratives-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.narratives-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    overflow-y: auto;
}

.narratives-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 10px;
}

.scanning-text {
    animation: scanPulse 1.5s ease-in-out infinite;
}

@keyframes scanPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.sentiment-orb-mini {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-core {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--text-dim) 0%, var(--bg-dark) 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.sentiment-orb-mini.bullish .orb-core {
    background: radial-gradient(circle, var(--bull-green) 0%, var(--bg-dark) 100%);
    box-shadow: var(--glow-green);
}

.sentiment-orb-mini.bearish .orb-core {
    background: radial-gradient(circle, var(--bear-red) 0%, var(--bg-dark) 100%);
    box-shadow: var(--glow-red);
}

.orb-label {
    position: absolute;
    bottom: -2px;
    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
}

.sentiment-orb-mini.bullish .orb-label {
    color: var(--bull-green);
}

.sentiment-orb-mini.bearish .orb-label {
    color: var(--bear-red);
}

.sentiment-orb-mini.pulse-flash .orb-core {
    animation: orbFlash 0.5s ease;
}

@keyframes orbFlash {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(2); }
    100% { transform: scale(1); filter: brightness(1); }
}

.sentiment-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sent-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sent-icon {
    font-size: 10px;
}

.sent-stat.bullish .sent-icon {
    color: var(--bull-green);
}

.sent-stat.bearish .sent-icon {
    color: var(--bear-red);
}

.sent-count {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    width: 20px;
}

.sent-stat.bullish .sent-count {
    color: var(--bull-green);
}

.sent-stat.bearish .sent-count {
    color: var(--bear-red);
}

.sent-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
}

.sent-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.sent-stat.bullish .sent-fill {
    background: linear-gradient(90deg, var(--bull-green-dim), var(--bull-green));
}

.sent-stat.bearish .sent-fill {
    background: linear-gradient(90deg, var(--bear-red-dim), var(--bear-red));
}

/* Sentiment Narratives */
.events-ticker {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 0, 255, 0.2);
    overflow: hidden;
    min-height: 0;
}

.ticker-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    overflow-y: auto;
    overflow-x: hidden;
}

.narrative-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: var(--bg-surface);
    border-radius: 4px;
    border-left: 3px solid var(--text-muted);
    font-family: var(--font-mono);
    font-size: 10px;
    transition: all 0.3s ease;
}

.narrative-item.bullish {
    border-left-color: var(--bull-green);
    background: linear-gradient(90deg, var(--bull-green-dim), transparent);
}

.narrative-item.bearish {
    border-left-color: var(--bear-red);
    background: linear-gradient(90deg, var(--bear-red-dim), transparent);
}

.narrative-item.high {
    animation: narrativePulse 1s ease;
}

@keyframes narrativePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }
    100% { transform: scale(1); }
}

.narrative-badge {
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.narrative-badge.bullish {
    background: var(--bull-green);
    color: var(--bg-void);
}

.narrative-badge.bearish {
    background: var(--bear-red);
    color: var(--bg-void);
}

.narrative-text {
    flex: 1;
    color: var(--text-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.narrative-impact {
    flex-shrink: 0;
    padding: 2px 4px;
    border-radius: 2px;
    font-size: 7px;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-muted);
}

.narrative-impact.high {
    background: var(--neon-yellow);
    color: var(--bg-void);
    animation: impactGlow 1s ease infinite;
}

.narrative-impact.medium {
    background: var(--neon-cyan);
    color: var(--bg-void);
}

@keyframes impactGlow {
    0%, 100% { box-shadow: 0 0 5px var(--neon-yellow); }
    50% { box-shadow: 0 0 15px var(--neon-yellow); }
}

/* Legacy ticker styles for compatibility */
.ticker-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
}

.ticker-badge {
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 600;
}

.ticker-badge.bullish {
    background: var(--bull-green-dim);
    color: var(--bull-green);
}

.ticker-badge.bearish {
    background: var(--bear-red-dim);
    color: var(--bear-red);
}

.ticker-text {
    color: var(--text-dim);
}

/* Execution Section */
.execution-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(0, 245, 255, 0.05) 100%);
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.15), inset 0 0 30px rgba(0, 245, 255, 0.05);
}

.exec-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.signal-display {
    text-align: center;
}

.signal-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.signal-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dim);
    animation: signalPulse 2s ease-in-out infinite;
}

.signal-value.bullish {
    color: var(--bull-green);
    text-shadow: var(--glow-green);
}

.signal-value.bearish {
    color: var(--bear-red);
    text-shadow: var(--glow-red);
}

@keyframes signalPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Analyzing pulse - more vibrant animation for waiting state */
.signal-value.analyzing-pulse {
    color: #00f5ff;
    animation: analyzingGlow 1.2s ease-in-out infinite;
}

@keyframes analyzingGlow {
    0%, 100% { 
        opacity: 0.6;
        text-shadow: 0 0 5px rgba(0, 245, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 20px rgba(0, 245, 255, 0.8), 0 0 40px rgba(0, 245, 255, 0.4);
        transform: scale(1.02);
    }
}

.trade-details {
    display: flex;
    gap: 20px;
}

.detail-row {
    display: flex;
    flex-direction: column;
}

.d-label {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--text-muted);
}

.d-value {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-white);
}

/* Countdown Ring */
.exec-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-ring {
    position: relative;
    width: 80px;
    height: 80px;
}

.countdown-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: var(--bg-elevated);
    stroke-width: 6;
}

.countdown-progress {
    fill: none;
    stroke: url(#countdownGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.countdown-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.countdown-number.urgent {
    color: var(--bear-red);
    animation: urgentPulse 0.5s infinite;
}

@keyframes urgentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.countdown-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-dim);
}

/* Execution Buttons */
.exec-right {
    display: flex;
    gap: 10px;
}

.exec-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exec-btn.execute {
    background: linear-gradient(135deg, var(--bull-green) 0%, var(--neon-cyan) 100%);
    color: var(--bg-void);
    box-shadow: 0 0 25px var(--bull-green-dim);
}

.exec-btn.execute:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--bull-green);
}

.exec-btn.execute:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.exec-btn.skip {
    background: var(--bg-elevated);
    color: var(--text-dim);
    border: 1px solid var(--bg-elevated);
}

.exec-btn.skip:hover {
    border-color: var(--text-dim);
    color: var(--text-bright);
}

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

/* Execution Overlay */
.exec-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.exec-overlay.hidden {
    display: none;
}

.exec-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.exec-animation {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exec-ring {
    position: absolute;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: execPulse 1.5s ease-out infinite;
}

.exec-ring.r1 {
    width: 50px;
    height: 50px;
    animation-delay: 0s;
}

.exec-ring.r2 {
    width: 80px;
    height: 80px;
    animation-delay: 0.3s;
}

.exec-ring.r3 {
    width: 110px;
    height: 110px;
    animation-delay: 0.6s;
}

@keyframes execPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.exec-icon {
    font-size: 40px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    animation: iconPulse 0.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.exec-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exec-step {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.exec-step.active {
    opacity: 1;
    color: var(--neon-cyan);
}

.exec-step.complete {
    opacity: 1;
    color: var(--neon-green);
}

.exec-step.complete::before {
    content: '✓ ';
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.success-overlay.hidden {
    display: none;
}

.success-modal {
    text-align: center;
    animation: successReveal 0.6s ease;
}

@keyframes successReveal {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--bull-green-dim);
    color: var(--bull-green);
    border: 3px solid var(--bull-green);
    border-radius: 50%;
    box-shadow: var(--glow-green);
}

.success-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--bull-green);
    text-shadow: var(--glow-green);
    margin-bottom: 20px;
}

.success-details {
    background: var(--bg-surface);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-family: var(--font-mono);
    font-size: 13px;
}

.success-row span:first-child {
    color: var(--text-dim);
}

.tx-link {
    color: var(--neon-cyan);
    text-decoration: none;
}

.tx-link:hover {
    text-decoration: underline;
}

.continue-btn {
    padding: 12px 30px;
    background: var(--bg-elevated);
    border: 2px solid var(--neon-cyan);
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--neon-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ========================================
   DJ VIBE MODE - Dancing Candles
   ======================================== */

/* Hide the small vibe overlay - we use full screen instead */
.vibe-overlay {
    display: none !important;
}

/* Vibe mode - the chart container pulses while candles dance on canvas */
#terminalPhase.vibe-mode .mega-chart-section {
    animation: chartSectionVibe 4s ease-in-out infinite;
    border-color: transparent;
    border-image: linear-gradient(45deg, var(--neon-cyan), var(--neon-magenta), var(--neon-green), var(--neon-cyan)) 1;
}

/* No CSS transform/filter on canvas - we animate candles directly in JS */
#terminalPhase.vibe-mode .mega-chart-container #priceChart {
    /* Canvas animation handled in JavaScript */
}

/* Blur the technical indicators header in vibe mode */
#terminalPhase.vibe-mode .mega-chart-header {
    filter: blur(4px);
    opacity: 0.5;
    pointer-events: none;
}

/* Hide RSI gauge labels in vibe mode */
#terminalPhase.vibe-mode .rsi-gauge-overlay {
    display: none !important;
}

/* Hide equalizer animations next to UPDATE button in vibe mode */
#terminalPhase.vibe-mode .vibe-equalizer {
    display: none !important;
}

/* Pulsing border glow effect */
@keyframes chartSectionVibe {
    0%, 100% { 
        box-shadow: 
            0 0 30px rgba(0, 245, 255, 0.3),
            0 0 60px rgba(0, 245, 255, 0.1),
            inset 0 0 30px rgba(0, 245, 255, 0.05);
    }
    33% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 255, 0.4),
            0 0 80px rgba(255, 0, 255, 0.15),
            inset 0 0 40px rgba(255, 0, 255, 0.08);
    }
    66% { 
        box-shadow: 
            0 0 35px rgba(0, 255, 136, 0.35),
            0 0 70px rgba(0, 255, 136, 0.12),
            inset 0 0 35px rgba(0, 255, 136, 0.06);
    }
}

/* Enhanced background pulse in vibe mode */
#terminalPhase.vibe-mode {
    animation: bgPulse 5s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(0, 10, 20, 1) 0%, rgba(5, 5, 15, 1) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(10, 5, 20, 1) 0%, rgba(5, 10, 15, 1) 100%);
    }
}

/* Hide execution section in vibe mode, show vibe update bar */
#terminalPhase.vibe-mode .execution-section {
    display: none !important;
}

#terminalPhase.vibe-mode .vibe-update-bar {
    display: flex !important;
}

/* Vibe Update Bar - replaces execution section */
.vibe-update-bar {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(0, 245, 255, 0.05) 100%);
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.15), inset 0 0 30px rgba(0, 245, 255, 0.05);
    animation: vibeBarGlow 3s ease-in-out infinite;
}

@keyframes vibeBarGlow {
    0%, 100% { 
        border-color: var(--neon-cyan);
        box-shadow: 0 0 30px rgba(0, 245, 255, 0.15), inset 0 0 30px rgba(0, 245, 255, 0.05);
    }
    50% { 
        border-color: var(--neon-magenta);
        box-shadow: 0 0 40px rgba(255, 0, 255, 0.2), inset 0 0 30px rgba(255, 0, 255, 0.05);
    }
}

.vibe-update-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.vibe-equalizer {
    display: flex;
    gap: 3px;
    height: 30px;
    align-items: flex-end;
}

.vibe-eq-bar {
    width: 4px;
    background: linear-gradient(to top, var(--neon-cyan), var(--neon-magenta));
    border-radius: 2px;
    animation: eqBar 0.8s ease-in-out infinite;
}

.vibe-eq-bar:nth-child(1) { animation-delay: 0.0s; }
.vibe-eq-bar:nth-child(2) { animation-delay: 0.1s; }
.vibe-eq-bar:nth-child(3) { animation-delay: 0.2s; }
.vibe-eq-bar:nth-child(4) { animation-delay: 0.15s; }
.vibe-eq-bar:nth-child(5) { animation-delay: 0.25s; }
.vibe-eq-bar:nth-child(6) { animation-delay: 0.1s; }
.vibe-eq-bar:nth-child(7) { animation-delay: 0.2s; }

@keyframes eqBar {
    0%, 100% { height: 8px; opacity: 0.6; }
    50% { height: 30px; opacity: 1; }
}

.update-btn {
    position: relative;
    padding: 18px 60px;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--neon-cyan);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.update-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.4), transparent);
    animation: updateShine 2s infinite;
}

@keyframes updateShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.update-btn:hover {
    background: rgba(0, 245, 255, 0.2);
    box-shadow: 
        0 0 30px var(--neon-cyan),
        0 0 60px var(--neon-cyan),
        inset 0 0 30px rgba(0, 245, 255, 0.1);
    transform: scale(1.05);
}

.update-btn:active {
    transform: scale(0.98);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 3px;
}

/* SVG Gradient Definition */
svg defs {
    position: absolute;
}

/* Screen Flash Animation */
.screen-flash {
    animation: screenFlash 0.3s ease;
}

@keyframes screenFlash {
    0% { filter: brightness(1); }
    50% { filter: brightness(2); }
    100% { filter: brightness(1); }
}

/* Responsive */
@media (max-width: 1200px) {
    .terminal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }
    
    .chart-section {
        grid-row: span 1;
        min-height: 250px;
    }
    
    .execution-section {
        grid-column: span 1;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .terminal-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .indicator-row {
        grid-template-columns: 1fr;
    }
    
    .execution-section {
        flex-direction: column;
        text-align: center;
    }
    
    .exec-left {
        flex-direction: column;
    }
    
    .trade-details {
        justify-content: center;
    }
}
