/* Custom styles for NEAR dApp Builder */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth transitions for all interactive elements */
button, a, .hover\:border-near-green:hover {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Glassmorphism hover effects */
.bg-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 236, 151, 0.3);
}

/* Custom gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, rgba(0, 236, 151, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
}

/* Button hover glow effect */
.bg-near-green:hover {
    box-shadow: 0 0 20px rgba(0, 236, 151, 0.4);
}

/* Card entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease-out;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .hidden.md\:flex {
        display: none;
    }
}

/* Focus states for accessibility */
button:focus, input:focus {
    outline: 2px solid rgba(0, 236, 151, 0.5);
    outline-offset: 2px;
}

/* Status indicator styles */
.status-deployed {
    background: rgba(34, 197, 94, 0.2);
    color: rgb(74, 222, 128);
}

.status-building {
    background: rgba(245, 158, 11, 0.2);
    color: rgb(251, 191, 36);
}

.status-draft {
    background: rgba(107, 114, 128, 0.2);
    color: rgb(156, 163, 175);
}