/* LQD Markets - Dark Fintech Theme */

/* Base body font */
body {
    font-family: 'Inter', sans-serif;
}

/* Grid background pattern */
.grid-bg {
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, #00D4AA 0%, #00A88A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect for cards */
.glow {
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.08);
}

.glow:hover {
    box-shadow: 0 0 80px rgba(0, 212, 170, 0.15);
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #1A1A2E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00D4AA;
}

/* Selection color */
::selection {
    background: rgba(0, 212, 170, 0.3);
    color: #FFFFFF;
}

/* Focus styles */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    border-color: #00D4AA;
}

/* Pulse animation for live indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Form success/error states */
.form-success {
    background-color: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00D4AA;
}

.form-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* Button loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Particle canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
