/* Category / Game Profile Specific Styles */

.category-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.category-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* We'll set the image via inline style so it can be dynamic for each game */
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.category-hero:hover .category-hero-bg {
    transform: scale(1.05); /* subtle zoom on hover */
}

.category-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.8) 40%, transparent 100%);
    z-index: 1;
}

.category-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    width: 100%;
}

.category-logo {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    flex-shrink: 0;
    overflow: hidden;
}

.category-logo img {
    max-width: 80%;
    max-height: 80%;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.category-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-info h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.category-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Category Sidebar Filter & Checkboxes */
.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

/* Custom Checkbox Design */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
    user-select: none;
}

.custom-checkbox:hover {
    color: var(--text-primary);
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.custom-checkbox input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .category-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
    
    .category-hero-overlay {
        background: linear-gradient(180deg, rgba(9, 9, 11, 0.8) 0%, rgba(9, 9, 11, 0.95) 100%);
    }
    
    .category-logo {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
    }
    
    .category-info h1 {
        font-size: 2rem;
    }
    
    .category-stats {
        justify-content: center;
    }
}
