.bg_main{
            background-color: #080808ef;
        }
        
        /* Authentication Overlay Animations */
        #authOverlay {
            animation: fadeIn 0.5s ease-out;
            backdrop-filter: blur(10px);
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        /* Private Key Display Selection */
        .select-all {
            user-select: all;
            -webkit-user-select: all;
            -moz-user-select: all;
            -ms-user-select: all;
        }
        
        /* Animated gradient for auth cards */
        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }
        
        /* Spinner animation */
        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .animate-spin {
            animation: spin 1s linear infinite;
        }
        
        #terminal {
            opacity: 0;
            transition: opacity 0.5s ease-in;
        }
        
        #terminal.loaded {
            opacity: 1;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes cursorBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }
        
        @keyframes statusPulse {
            0%, 100% { 
                transform: scale(1);
                box-shadow: 0 0 8px #ffffff;
            }
            50% { 
                transform: scale(1.2);
                box-shadow: 0 0 15px #ffffff;
            }
        }

        /* Terminal Sleep/Wake States */
        .terminal-sleeping .px-6.py-6 {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 600px;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            position: relative;
            overflow: hidden;
        }

        .terminal-sleeping .px-6.py-6::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                0deg,
                rgba(255, 255, 255, 0.01) 0px,
                transparent 1px,
                transparent 2px,
                rgba(255, 255, 255, 0.01) 3px
            );
            opacity: 0.3;
            pointer-events: none;
                            }

                .wake-button {
                    position: relative;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    padding: 4rem 5rem;
                    background: #00000080;
                    border: #4b4b4b 0.1rem solid;
                    border-radius: 1rem;
                    color: #ffffff;
                    font-family: monospace;
                    font-weight: bold;
                    font-size: 1.5rem;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    backdrop-filter: blur(10px);
                    
                }
        .wake-button:hover {
                    background: rgba(255, 255, 255, 0.2);
                    border-color: rgba(255, 255, 255, 0.5);
                    transform: translateY(-2px) scale(1.05);
              }

        .wake-button:active {
            transform: translateY(0) scale(1);
        }

        .wake-button svg {
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
            animation: lightning 2s ease-in-out infinite;
        }

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

        /* Terminal waking animation */
        .terminal-waking .px-6.py-6::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.1) 50%,
                transparent 100%
            );
            animation: scanline 2s linear;
            pointer-events: none;
        }

        @keyframes scanline {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }

        /* Active terminal state */
        .terminal-active .px-6.py-6 {
            animation: terminalGlow 3s ease-in-out infinite;
        }

 

        /* Typing cursor animation */
        .typing-cursor {
            display: inline-block;
            color: #ffffff;
            animation: cursorBlink 0.8s step-end infinite;
            margin-left: 2px;
            font-weight: bold;
        }

        @keyframes cursorBlink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        /* Minimalist Gray-Black Scrollbar for Terminal */
#terminalBody::-webkit-scrollbar {
    width: 8px;
}

#terminalBody::-webkit-scrollbar-track {
    background: #0a0a0a;
}

#terminalBody::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
}

#terminalBody::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

#terminalBody::-webkit-scrollbar-thumb:active {
    background: #666666;
}

/* Firefox scrollbar */
#terminalBody {
    scrollbar-width: thin;
    scrollbar-color: #333333 #0a0a0a;
}





        /* Minimalist Gray-Black Scrollbar for Terminal */
#terminalBody2::-webkit-scrollbar {
    width: 8px;
}

#terminalBody2::-webkit-scrollbar-track {
    background: #0a0a0a;
}

#terminalBody2::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
}

#terminalBody2::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

#terminalBody2::-webkit-scrollbar-thumb:active {
    background: #666666;
}

/* Firefox scrollbar */
#terminalBody2 {
    scrollbar-width: thin;
    scrollbar-color: #333333 #0a0a0a;
}



   #glCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        /* Animated Background Canvas */
        #animatedBackground {
            filter: blur(80px) brightness(0.8) contrast(1.5);
        }
        
        body {
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        
        /* Toggle Switch Styles */
        .toggle-switch {
            position: relative;
            width: 44px;
            height: 24px;
            background: #3f3f46;
            border-radius: 12px;
            transition: background-color 0.3s;
            flex-shrink: 0;
        }
        
        .toggle-switch.active {
            background: #f97316;
        }
        
        .toggle-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s;
        }
        
        .toggle-switch.active .toggle-slider {
            transform: translateX(20px);
        }
        
        /* Context Slider Styles */
        .context-slider {
            -webkit-appearance: none;
            appearance: none;
            height: 6px;
            background: #3f3f46;
            border-radius: 3px;
            outline: none;
        }
        
        .context-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            background: #f97316;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .context-slider::-webkit-slider-thumb:hover {
            background: #fb923c;
        }
        
        .context-slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: #f97316;
            border-radius: 50%;
            cursor: pointer;
            border: none;
            transition: background 0.3s;
        }
        
        .context-slider::-moz-range-thumb:hover {
            background: #fb923c;
        }
        
        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal-overlay.show {
            opacity: 1;
        }
        
        .modal-content {
            background: #18181b;
            border: 1px solid #3f3f46;
            border-radius: 1rem;
            padding: 2rem;
            max-width: 400px;
            width: 90%;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .modal-overlay.show .modal-content {
            transform: scale(1);
        }
        
        .modal-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(239, 68, 68, 0.1);
        }
        
        .modal-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
        }
        
        .modal-btn {
            flex: 1;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
        }
        
        .modal-btn-cancel {
            background: #27272a;
            color: #fff;
        }
        
        .modal-btn-cancel:hover {
            background: #3f3f46;
        }
        
        .modal-btn-confirm {
            background: #ef4444;
            color: #fff;
        }
        
        .modal-btn-confirm:hover {
            background: #dc2626;
        }
        
        /* Balance Update Animations */
        @keyframes balanceUpdate {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.15);
                color: #fbbf24;
            }
            100% {
                transform: scale(1);
            }
        }
        
        .balance-update-animation {
            animation: balanceUpdate 0.5s ease-out;
        }
        
        @keyframes containerPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
            }
            50% {
                box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
            }
        }
        
        .balance-container-pulse {
            animation: containerPulse 0.6s ease-out;
        }
        
        @keyframes floatUp {
            0% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                opacity: 0;
                transform: translateY(-30px);
            }
        }
        
        .floating-decrement {
            position: fixed;
            color: #ef4444;
            font-weight: bold;
            font-size: 1.2rem;
            pointer-events: none;
            z-index: 9999;
            animation: floatUp 1.5s ease-out forwards;
        }