/* Custom cyberpunk styles */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0F1419 0%, #1A1F2E 100%);
    min-height: 100vh;
}

/* Cyberpunk glow effects */
.slider::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    background: linear-gradient(135deg, #00D2FF, #00FF88);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.slider::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: linear-gradient(135deg, #00D2FF, #00FF88);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Card hover effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.1);
}

/* Gradient text animation */
@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.bg-gradient-to-r {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

/* Pulse animation for connection status */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Backdrop blur support */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1A1F2E;
}

::-webkit-scrollbar-thumb {
    background: #00D2FF;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00FF88;
}

/* Button glow effect */
button:hover {
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    transition: all 0.3s ease;
}

/* Grid pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Neon border effect */
.border-cyber-blue {
    border-color: #00D2FF;
    box-shadow: 0 0 5px rgba(0, 210, 255, 0.2);
}

/* Typography improvements */
.font-mono {
    font-family: 'JetBrains Mono', monospace;
    font-feature-settings: 'tnum' 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .grid-cols-1.md\:grid-cols-4 {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Loading states */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #1A1F2E 25%, #2A2F3E 37%, #1A1F2E 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}