/* Page Header */
.page-header {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.75rem;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters Section */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 2.5rem;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-select {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-group {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

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

.search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Content Grid Section */
.content-grid-container {
    padding-bottom: 3rem;
}

/* 
The #contentGrid will now use the .anime-grid class from the main style.css
This ensures consistency and reduces code duplication. 
The same goes for the anime cards inside it.
*/

.grid-message {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 4rem 0;
}
