main {
    background: var(--bg-dark);
}

.section-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple));
}

.see-all {
    font-size: 13px;
    color: var(--neon-blue);
    transition: opacity 0.2s;
}

.see-all:hover {
    opacity: 0.7;
}

.cat-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 40px;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.cat-pill:hover,
.cat-pill.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.cat-pill-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-blue);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
}

.game-card-thumb {
    aspect-ratio: 16/9;
    background: var(--border);
    overflow: hidden;
    position: relative;
}

.game-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover .game-card-thumb img {
    transform: scale(1.05);
}

.game-card-play {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

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

.play-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.game-card-info {
    padding: 10px 12px;
}

.game-card-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.game-card-cat {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 16px;
    margin-bottom: 48px;
}

.featured-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
}

.featured-card:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 8px 32px rgba(180, 79, 255, 0.2);
}

.featured-card.big {
    grid-row: span 2;
}

.featured-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}

.featured-card:hover .featured-card-bg {
    transform: scale(1.04);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 15, 0.9) 0%, transparent 60%);
}

.featured-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
}

.featured-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.featured-card.big .featured-card-name {
    font-size: 22px;
}

.featured-card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: var(--neon-purple);
    color: #fff;
    margin-bottom: 6px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-card.big {
        grid-row: span 1;
    }

    .featured-card:last-child {
        display: none;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}
