/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, monospace;
}

/* Category buttons */
.category-btn {
    background-color: white;
    border: 1px solid #f1f1f1;
    color: #8a8a8a;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background-color: #f9f9f9;
    color: #000;
    transform: translateY(-1px);
}

.category-btn.active {
    background-color: black;
    color: white;
    border-color: black;
}

/* Tool cards */
.tool-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f1f1f1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tool-description {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: #f5f5f5;
    color: #666;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.visit-btn {
    background-color: black;
    color: white;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.visit-btn:hover {
    background-color: #333;
}

/* Search input */
#search-input {
    transition: all 0.2s ease;
}

#search-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 0;
}

.empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: #ccc;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-message {
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .tool-card {
        margin-bottom: 1rem;
    }
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #c1c1c1;
}
