* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-primary);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    padding: 0.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: var(--radius-lg);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.brand-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.reset-filters {
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-filters:hover {
    background-color: var(--border-secondary);
}


.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.search-section {
    margin-bottom: 2rem;
}

.search-container {
    max-width: 32rem;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.content-layout {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .content-layout {
        flex-direction: row;
    }

    .filter-panel {
        width: 20rem;
        flex-shrink: 0;
    }
}

.results-section {
    flex: 1;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.results-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.results-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 560px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results svg {
    color: var(--text-tertiary);
    margin: 0 auto 1rem;
}

.no-results h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-secondary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.2s ease-out;
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

.zoom-in {
    animation: zoomIn 0.2s ease-out;
}