/* VibeCoders Custom Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: all 0.3s ease;
}


/* Tools Grid - Clean Developer Directory Style */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Tool Cards - Modern Developer Tool Style */
.tool-card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.tool-card:hover::before {
    opacity: 1;
}


.tool-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #f8fafc;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}


.tool-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0 0 16px 0;
    opacity: 0.9;
}


.tool-card .url {
    font-size: 0.85rem;
    color: #9ca3af;
    font-family: 'SF Mono', 'Monaco', 'Menlo', 'Roboto Mono', monospace;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.tool-card:hover .url {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}



/* Featured and Premium styles */
.tool-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
}

.tool-card.featured::after {
    content: '⭐ Featured';
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 10;
}

.tool-card.premium {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.3);
    position: relative;
}

.tool-card.premium::after {
    content: '💎 Premium';
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 10;
}


/* Hide/show tools based on search */
.tool-card.hidden {
    display: none;
}

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

::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

/* Backdrop blur support fallback */
@supports not (backdrop-filter: blur(20px)) {
    .tool-card {
        background: rgba(31, 41, 55, 0.95);
    }
}