/* ========================================
   GAMES PAGE
======================================== */

/* Header */
.games-header {
    background: var(--card-bg);
    border-bottom: 3px solid var(--nintendo-red);
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(10px);
}

.games-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.games-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.games-header-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 8px var(--glow));
}

.games-header-title h1 {
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0 #000;
}

.games-header-actions {
    display: flex;
    gap: 8px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--dark-bg);
    border: 2px solid #2a2a2a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: 'Oxanium', system-ui, sans-serif;
    transition: all 0.25s ease;
    white-space: nowrap;
    clip-path: polygon(0 4px, 4px 4px, 4px 0,
            calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
            100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
            4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}

.btn-back:hover {
    border-color: var(--nintendo-red);
    color: var(--nintendo-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow);
}

/* Container */
.games-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: calc(100vh - 130px);
}

/* Stats Bar */
.stats-bar {
    background: var(--card-bg);
    padding: 16px 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #2a2a2a;
    clip-path: polygon(0 8px, 8px 8px, 8px 0,
            calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
            100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
            8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--nintendo-red);
    display: block;
    font-family: 'Oxanium', system-ui, sans-serif;
    line-height: 1.1;
    text-shadow: 2px 2px 0 #000;
}

.stat-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

/* Controls */
.games-controls {
    background: var(--card-bg);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    gap: 12px;
    clip-path: polygon(0 8px, 8px 8px, 8px 0,
            calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
            100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
            8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

/* Console Tabs */
.console-tabs-wrap {
    position: relative;
    padding-top: 4px;
}

.console-tabs-wrap::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--card-bg));
    pointer-events: none;
}

.console-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: none;
}

.console-tabs::-webkit-scrollbar { display: none; }

.console-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: #111;
    border: 2px solid #2a2a2a;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Oxanium', system-ui, sans-serif;
    clip-path: polygon(0 4px, 4px 4px, 4px 0,
            calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
            100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
            4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}

.console-tab-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.console-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

.console-tab:hover {
    border-color: var(--nintendo-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--glow);
}

.console-tab:hover .console-icon { transform: scale(1.15); }

.console-tab.active {
    background: linear-gradient(135deg, var(--nintendo-red), #c4000f);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 14px var(--glow);
    transform: translateY(-1px);
}

.console-tab.active .console-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.75));
    transform: scale(1.1);
}

.console-tab .count {
    background: #2a2a2a;
    color: #999;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    transition: all 0.22s ease;
    clip-path: polygon(0 3px, 3px 3px, 3px 0,
            calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px,
            100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%,
            3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px));
}

.console-tab.active .count {
    background: rgba(255, 255, 255, 0.22);
    color: white;
}

.console-tab.loading .count {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Search + Sort */
.search-sort-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 180px;
}

.search-box input {
    width: 100%;
    padding: 12px 44px 12px 18px;
    border: 2px solid #333;
    font-size: 0.9rem;
    font-family: 'Inter', system-ui, sans-serif;
    background: #161616;
    color: #fff;
    transition: all 0.25s ease;
    clip-path: polygon(0 6px, 6px 6px, 6px 0,
            calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
            100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
            6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

.search-box input::placeholder { color: #666; }

.search-box input:focus {
    outline: none;
    border-color: var(--nintendo-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.15);
}

.search-box i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: color 0.2s ease;
}

.search-box input:focus + i { color: var(--nintendo-red); }

.sort-box {
    position: relative;
    flex-shrink: 0;
}

.sort-box select {
    padding: 12px 42px 12px 16px;
    border: 2px solid #333;
    font-size: 0.9rem;
    font-family: 'Inter', system-ui, sans-serif;
    background: #161616;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    transition: all 0.25s ease;
    min-width: 170px;
    clip-path: polygon(0 6px, 6px 6px, 6px 0,
            calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
            100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
            6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

.sort-box select:focus {
    outline: none;
    border-color: var(--nintendo-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.15);
}

.sort-box i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #999;
    pointer-events: none;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
    align-items: start;
    min-height: 300px;
}

.games-grid.transitioning {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Game Card */
.game-card {
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    border: 2px solid #2a2a2a;
    opacity: 0;
    transform: translateY(16px);
    animation: cardAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    clip-path: polygon(0 8px, 8px 8px, 8px 0,
            calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
            100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
            8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.game-card:nth-child(1) { animation-delay: 0ms; }
.game-card:nth-child(2) { animation-delay: 25ms; }
.game-card:nth-child(3) { animation-delay: 50ms; }
.game-card:nth-child(4) { animation-delay: 75ms; }
.game-card:nth-child(5) { animation-delay: 100ms; }
.game-card:nth-child(6) { animation-delay: 125ms; }
.game-card:nth-child(7) { animation-delay: 150ms; }
.game-card:nth-child(8) { animation-delay: 175ms; }
.game-card:nth-child(9) { animation-delay: 200ms; }
.game-card:nth-child(10) { animation-delay: 225ms; }
.game-card:nth-child(11) { animation-delay: 250ms; }
.game-card:nth-child(12) { animation-delay: 275ms; }
.game-card:nth-child(n+13) { animation-delay: 280ms; }

@keyframes cardAppear {
    to { opacity: 1; transform: translateY(0); }
}

.game-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow);
    border-color: var(--nintendo-red);
    z-index: 5;
}

.game-card:active {
    transform: translateY(-3px) scale(0.99);
}

/* ===== GAME COVER ===== */
.game-cover {
    width: 100%;
    min-height: 140px;
    background: #111;
    position: relative;
    overflow: hidden;
}

.game-cover img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Switch: lascia che la cover usi le sue proporzioni naturali, niente min-height */
.game-card[data-console="switch"] .game-cover {
    min-height: unset;
}



.game-cover img.loaded { opacity: 1; }
.game-card:hover .game-cover img { transform: scale(1.04); }

.game-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    opacity: 0.18;
    animation: floatEmoji 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.game-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 14px 10px 10px;
    pointer-events: none;
}

.game-card:hover .game-hover-overlay { opacity: 1; }

.hover-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.hover-open i {
    font-size: 24px;
    color: white;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transform: translateY(6px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.hover-open span {
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transform: translateY(6px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.game-card:hover .hover-open i,
.game-card:hover .hover-open span {
    transform: translateY(0);
    opacity: 1;
}

.game-hover-overlay .game-info-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
}

.badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 3px 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Oxanium', system-ui, sans-serif;
    clip-path: polygon(0 3px, 3px 3px, 3px 0,
            calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px,
            100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%,
            3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px));
}

.badge-region { font-size: 0.65rem; }

.game-title { padding: 10px 12px 12px; }

.game-title h3 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
    transition: color 0.2s ease;
}

.game-card:hover .game-title h3 { color: var(--nintendo-red); }

/* Skeleton */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}

.skeleton-card {
    background: var(--card-bg);
    overflow: hidden;
    border: 2px solid #2a2a2a;
    clip-path: polygon(0 8px, 8px 8px, 8px 0,
            calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
            100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
            8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.skeleton-cover {
    width: 100%;
    aspect-ratio: 2 / 3;
}

.skeleton-cover,
.skeleton-line {
    background: linear-gradient(90deg, #111 25%, #2a2a2a 50%, #111 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-title { padding: 12px 14px 14px; }

.skeleton-line {
    height: 13px;
    margin-bottom: 7px;
}

.skeleton-line:last-child {
    width: 55%;
    margin-bottom: 0;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.4s ease;
    grid-column: 1 / -1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-state-icon {
    font-size: 64px;
    color: #2a2a2a;
    margin-bottom: 16px;
    display: block;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-family: 'Oxanium', system-ui, sans-serif;
    font-weight: 700;
    margin-bottom: 6px;
}

.empty-state p {
    color: #999;
    font-size: 0.9rem;
}

/* Loading */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #2a2a2a;
    border-top-color: var(--nintendo-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
    margin-left: 16px;
    color: #999;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--card-bg);
    border: 2px solid #2a2a2a;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 6px, 6px 6px, 6px 0,
            calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
            100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
            6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--nintendo-red);
    border-color: var(--nintendo-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--glow);
}

/* Footer */
.games-footer {
    background: var(--card-bg);
    border-top: 2px solid #2a2a2a;
    padding: 16px 20px;
    text-align: center;
}

.games-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.games-footer-link {
    color: #999;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.games-footer-link:hover { color: var(--nintendo-red); }
.games-footer-link i { font-size: 16px; }

.games-footer-sep {
    color: #2a2a2a;
    font-size: 12px;
    user-select: none;
}

/* Games Responsive */
@media (max-width: 700px) {
    .games-header-title h1 { font-size: 0.95rem; }
    .games-header-logo { height: 26px; }

    .btn-back-label { display: none; }
    .btn-back { padding: 8px 10px; }

    .console-tab-label { display: none; }
    .console-tab { padding: 6px 9px; }

    .stats-bar { gap: 24px; padding: 12px 16px; }
    .stat-number { font-size: 1.3rem; }

    .search-sort-row { flex-direction: column; }
    .sort-box { width: 100%; }
    .sort-box select { width: 100%; min-width: unset; }

    .games-grid,
    .skeleton-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .scroll-top { bottom: 90px; right: 16px; }
}

@media (max-width: 400px) {
    .games-grid,
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-title h3 { font-size: 0.72rem; }
    .games-container { padding: 16px 10px; }
}

/* ========================================
   VISUAL REFRESH - MATCH HOME
======================================== */

.games-header {
    background: rgba(18, 18, 18, 0.84);
    border-bottom: 1px solid rgba(230, 0, 18, 0.45);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.games-header-content {
    max-width: 1120px;
}

.games-header-logo {
    image-rendering: auto;
    filter: drop-shadow(0 8px 18px rgba(230, 0, 18, 0.32));
}

.games-header-title h1 {
    letter-spacing: 0;
    text-shadow: none;
}

.games-container {
    max-width: 1120px;
    padding: 32px 20px 48px;
}

.stats-bar,
.games-controls,
.game-card,
.skeleton-card,
.empty-state,
.games-footer {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    clip-path: none;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.stats-bar {
    padding: 18px 24px;
}

.stat-number {
    color: #ff2434;
    text-shadow: none;
}

.games-controls {
    padding: 18px;
    backdrop-filter: blur(10px);
}

.console-tabs-wrap::after {
    background: linear-gradient(to right, transparent, rgba(18, 18, 18, 0.92));
}

.btn-back,
.console-tab,
.console-tab .count,
.search-box input,
.sort-box select,
.badge,
.scroll-top {
    border-radius: 999px;
    clip-path: none;
}

.btn-back {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-back:hover {
    background: rgba(230, 0, 18, 0.1);
    color: #fff;
}

.console-tab {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.console-tab.active {
    background: linear-gradient(135deg, #e60012, #ff3948);
    box-shadow: 0 10px 26px rgba(230, 0, 18, 0.28);
}

.search-box input,
.sort-box select {
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.search-box input:focus,
.sort-box select:focus {
    border-color: rgba(230, 0, 18, 0.75);
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.16);
}

.games-grid,
.skeleton-grid {
    gap: 18px;
}

.game-card {
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.game-card:hover {
    border-color: rgba(230, 0, 18, 0.65);
    background: rgba(230, 0, 18, 0.08);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38), 0 0 24px rgba(230, 0, 18, 0.18);
}

.game-cover {
    background: rgba(0, 0, 0, 0.42);
}

.game-title h3 {
    line-height: 1.45;
}

.skeleton-line {
    border-radius: 999px;
}

.scroll-top {
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.games-footer {
    margin: 0 auto 24px;
    max-width: 1120px;
}

@media (max-width: 700px) {
    .games-header {
        padding: 12px 14px;
    }

    .games-container {
        padding: 18px 12px 36px;
    }

    .stats-bar {
        gap: 18px;
    }

    .games-controls {
        padding: 14px;
    }
}

/* ========================================
   DESKTOP VISUAL SCALE
======================================== */

@media (min-width: 901px) {
    .games-header-content,
    .games-container,
    .games-footer {
        max-width: 1280px;
    }

    .games-header {
        padding: 18px 24px;
    }

    .games-header-logo {
        height: 40px;
    }

    .games-header-title h1 {
        font-size: 1.28rem;
    }

    .games-container {
        padding: 38px 24px 58px;
    }

    .stats-bar {
        padding: 22px 30px;
        gap: 64px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .stat-label {
        font-size: 0.76rem;
    }

    .games-controls {
        padding: 22px;
        gap: 16px;
    }

    .console-tab {
        padding: 10px 16px;
        font-size: 0.86rem;
    }

    .search-box input,
    .sort-box select {
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 0.96rem;
    }

    .games-grid,
    .skeleton-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 22px;
    }

    .game-title {
        padding: 12px 14px 14px;
    }

    .game-title h3 {
        font-size: 0.9rem;
    }
}
