
/* --- Modern Section Header --- */
.nx-section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--nx-space-xl);
    padding: 0 var(--nx-space-sm);
    border-bottom: 1px solid var(--nx-border-light);
    padding-bottom: var(--nx-space-lg);
}

.nx-header-content {
    display: flex;
    align-items: center;
    gap: var(--nx-space-md);
}

.nx-title-decoration {
    width: 6px;
    height: 40px;
    background: var(--nx-gradient-primary);
    border-radius: var(--nx-radius-full);
}

.nx-section-title-modern {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(90deg, var(--nx-text-primary), var(--nx-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nx-section-subtitle-modern {
    font-size: var(--nx-font-size-base);
    color: var(--nx-text-muted);
    font-weight: 500;
}

/* --- Modern Scroll Controls --- */
.nx-scroll-controls-modern {
    display: flex;
    gap: var(--nx-space-sm);
}

.nx-scroll-btn-modern {
    width: 44px;
    height: 44px;
    border-radius: var(--nx-radius-full);
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--nx-text-secondary);
    box-shadow: var(--nx-shadow-sm);
}

.nx-scroll-btn-modern:hover {
    background: var(--nx-primary);
    color: white;
    border-color: var(--nx-primary);
    transform: translateY(-2px);
    box-shadow: var(--nx-shadow-md);
}

.nx-scroll-btn-modern:active {
    transform: translateY(0);
}

/* --- Modern Horizontal Layout --- */
.nx-layout-horizontal-modern {
    display: flex;
    gap: var(--nx-space-lg);
    overflow-x: auto;
    padding: var(--nx-space-md) var(--nx-space-sm) var(--nx-space-lg);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    margin: 0 calc(var(--nx-space-sm) * -1); /* Negative margin to allow full-width scroll effect */
}

.nx-layout-horizontal-modern::-webkit-scrollbar {
    display: none;
}

.nx-game-card-wrapper-modern {
    flex: 0 0 280px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

/* Card Style: Modern Minimal (Enhanced) */
.nx-card-minimal {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--nx-bg-card);
    border: 1px solid var(--nx-border-light);
}

.nx-card-minimal:hover {
    border-color: var(--nx-primary-light);
}

.nx-card-minimal-image {
    height: 180px; /* Slightly taller */
    border-radius: var(--nx-radius-lg);
    box-shadow: var(--nx-shadow-sm);
}

.nx-card-minimal-title {
    font-size: 1.1rem;
    margin-top: var(--nx-space-xs);
}

.nx-card-minimal-category {
    font-weight: 500;
    color: var(--nx-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
