/* Import base styles */
@import url('./index.css');


/* Category game page specific styles */
.category-header {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: white;
    margin-bottom: 30px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.category-description {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

.category-games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #3367d6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.game-card {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.game-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover, .pagination-btn.active {
    background-color: #4285f4;
    color: white;
    border-color: #4285f4;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-games-container {
        padding: 0 15px;
    }
    
    .category-header {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .category-description {
        font-size: 0.9rem;
    }
    
    .category-filter {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 0.85rem;
        border-radius: 15px;
    }
    
    .game-card img {
        height: 120px;
    }
    
    .game-info {
        padding: 12px;
    }
    
    .game-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .game-info p {
        font-size: 0.85rem;
    }
    
    .pagination {
        gap: 6px;
        margin: 20px 0;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}