/* Game Categories Section */
.game-categories-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1.5rem 0 2rem;
    margin: .5rem 0 1.25rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.game-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.game-categories-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.game-categories-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.game-categories-carousel {
    overflow: hidden;
    position: relative;
}

.game-categories-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
    padding: .5rem 0;
}

.game-category-item {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
}

.game-category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-category-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.game-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.game-category-link:hover .game-category-icon::before {
    transform: translateX(100%);
}

/* Game Category Icon Colors */
.game-category-icon.roblox {
    background: linear-gradient(135deg, #e60012, #ff6b6b);
    color: white;
}

.game-category-icon.valorant {
    background: linear-gradient(135deg, #ff4655, #ff6b6b);
    color: white;
}

.game-category-icon.pes {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.game-category-icon.pubg {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
}

.game-category-icon.brawl {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
}

.game-category-icon.discord {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
}

.game-category-icon.growtopia {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.game-category-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.game-category-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.game-category-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-category-prev {
    left: 1rem;
}

.game-category-next {
    right: 1rem;
}

.game-categories-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.game-categories-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-categories-indicators .indicator.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.game-categories-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Game Categories Responsive Design */
@media (max-width: 768px) {
    .game-categories-section {
        padding: 1rem 0 1.5rem;
        margin: .5rem 0 1rem;
    }
    .game-categories-container { padding: 0 .75rem; }
    .game-category-item { width: 100px; }
    .game-category-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .game-category-name { font-size: 0.8rem; }
    .game-category-nav { width: 40px; height: 40px; }
    .game-category-prev { left: 0.5rem; }
    .game-category-next { right: 0.5rem; }
}

@media (max-width: 480px) {
    .game-categories-track {
        gap: 1rem;
    }
    
    .game-category-item {
        width: 80px;
    }
    
    .game-category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .game-category-name {
        font-size: 0.75rem;
    }
}
