@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #1e3a8a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2563eb, #7c3aed);
}

#checker-input {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 rgba(30, 41, 59, 0.3);
    font-family: 'JetBrains Mono', monospace;
}

#threads-range.blocked {
    opacity: 0.6;
    pointer-events: none;
}

/* Animaciones personalizadas */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Efectos de glassmorphism mejorados */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Botones con efectos especiales */
button:active {
    transform: scale(0.98);
}

/* Inputs con efectos especiales */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Efectos de hover para tarjetas */
.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Transiciones suaves */
* {
    transition: all 0.3s ease;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .backdrop-blur-lg {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}