/**
 * Browse Page Styles — AI Companion Platform
 * 
 * Additional styles for the browse page.
 * Extends landing.css with browse-specific components.
 * Pure CSS — no Bootstrap/Tailwind.
 *
 * @package    HoloSuiteAI
 * @subpackage Public
 * @version    3.0.0
 */

/* ============================================================
 * PAGE HEADER
 * ============================================================ */
.browse-page-header {
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
 * FILTER BAR
 * ============================================================ */
.filter-bar {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.filter-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    font-size: 0.9375rem;
    color: #94a3b8;
}

.count-number {
    font-weight: 600;
    color: #c084fc;
}

.filter-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-option {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-option:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-option.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

/* ============================================================
 * ACTIVE NAV LINK
 * ============================================================ */
.nav-link.active {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.1);
}

/* ============================================================
 * CHARACTER STATS (in card)
 * ============================================================ */
.character-stats {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.character-stats svg {
    color: #64748b;
}

/* ============================================================
 * PAGINATION
 * ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
}

.pagination-info {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============================================================
 * EMPTY STATE LINK
 * ============================================================ */
.empty-state a {
    color: #a855f7;
    text-decoration: none;
}

.empty-state a:hover {
    color: #c084fc;
    text-decoration: underline;
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }

    .filter-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-options {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .pagination {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pagination-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}
