/* BossV Team - TechStream列表页自定义CSS (2026-02-05) */

/* Movies Container - Wrapper for grid and load more */
.movies-container {
    margin-bottom: 3rem;
}

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Override pic-list for this page - flatten the list */
.movies-grid .pic-list,
.movies-grid > .pic-list {
    display: contents;
}

.movies-grid .pic-list > li {
    list-style: none;
}

/* Load More Button Container */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

/* Category Filters */
.category-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary, #1a1a2e);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* Filter Group */
.filter-group h3 {
    font-size: 0.9rem;
    color: var(--text-secondary, #b8b8c8);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    color: var(--text-secondary, #b8b8c8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary, 'Rajdhani', sans-serif);
    font-size: 0.85rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--neural-primary, #00ffcc);
    color: var(--neural-primary, #00ffcc);
}

/* Neural Select */
.neural-select {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    background: var(--bg-primary, #0a0a0f);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: var(--text-primary, #fff);
    font-family: var(--font-primary, 'Rajdhani', sans-serif);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffcc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
}

.neural-select:hover,
.neural-select:focus {
    border-color: var(--neural-primary, #00ffcc);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.neural-select option {
    background: var(--bg-primary, #0a0a0f);
    color: var(--text-primary, #fff);
}

/* Search Group */
.search-group {
    grid-column: span 2;
}

/* Search Input Container */
.search-input-container {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.neural-input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--bg-primary, #0a0a0f);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 8px;
    color: var(--text-primary, #fff);
    font-family: var(--font-primary, 'Rajdhani', sans-serif);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.neural-input:focus {
    outline: none;
    border-color: var(--neural-primary, #00ffcc);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.neural-input::placeholder {
    color: var(--text-muted, #6b6b80);
}

.search-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--neural-primary, #00ffcc);
    border-radius: 8px;
    color: var(--neural-primary, #00ffcc);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary, 'Rajdhani', sans-serif);
}

.search-btn:hover {
    background: var(--neural-primary, #00ffcc);
    color: var(--bg-primary, #0a0a0f);
}

/* Page Header */
.page-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header .header-content {
    text-align: center;
}

.page-title {
    font-family: var(--font-secondary, 'Orbitron', sans-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-description {
    color: var(--text-secondary, #b8b8c8);
    margin-bottom: 1.5rem;
}

.page-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary, #b8b8c8);
}

.page-stats .stat-value {
    color: var(--neural-primary, #00ffcc);
    font-family: var(--font-secondary, 'Orbitron', sans-serif);
    font-size: 1.5rem;
    font-weight: bold;
}

.page-stats .stat-label {
    font-size: 0.9rem;
}

/* Main Container */
.neuro-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
}

/* Visual Element (hide on small screens) */
.visual-element {
    display: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-content .no-icon {
    font-size: 4rem;
    color: var(--neural-primary, #00ffcc);
    margin-bottom: 1rem;
}

.no-content h3 {
    color: var(--text-primary, #fff);
    margin-bottom: 0.5rem;
}

.no-content p {
    color: var(--text-secondary, #b8b8c8);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .neuro-main .container {
        padding: 80px 1rem 1rem;
    }

    .category-filters {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .search-group {
        grid-column: span 1;
    }

    .search-input-container {
        flex-direction: column;
    }

    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-tabs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .filter-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
