* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2

.hero p {
    color: #a0a0c0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Categories */
.categories {
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 20px;
}

.categories::-webkit-scrollbar {
    height: 5px;
}

.categories::-webkit-scrollbar-thumb {
    background: #4ecdc4;
    border-radius: 10px;
}

.category-list {
    display: inline-flex;
    gap: 15px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-btn.active, .category-btn:hover {
    background: #ff6b6b;
}

/* Games Grid */
.games-section {
    padding: 20px 0 40px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.section-title i {
    color: #4ecdc4;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.game-image {
    height: 120px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-content {
    padding: 10px;
}

.game-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #a0a0c0;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.game-rating i {
    color: gold;
    font-size: 0.7rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
    text-align: center;
    color: #a0a0c0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-bar {
        width: 200px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}